mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Treat deprecated modules as old during validation.
This commit is contained in:
@@ -277,7 +277,7 @@ class ModuleValidator(Validator):
|
||||
return t.name
|
||||
|
||||
def _is_new_module(self):
|
||||
return bool(self.base_branch) and not bool(self.base_module)
|
||||
return not self.object_name.startswith('_') and bool(self.base_branch) and not bool(self.base_module)
|
||||
|
||||
def _check_interpreter(self, powershell=False):
|
||||
if powershell:
|
||||
|
||||
Reference in New Issue
Block a user