mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Treat deprecated modules as old during validation.
This commit is contained in:
@@ -277,7 +277,7 @@ class ModuleValidator(Validator):
|
|||||||
return t.name
|
return t.name
|
||||||
|
|
||||||
def _is_new_module(self):
|
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):
|
def _check_interpreter(self, powershell=False):
|
||||||
if powershell:
|
if powershell:
|
||||||
|
|||||||
Reference in New Issue
Block a user