mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
Only run the interpreter check once
This commit is contained in:
@@ -290,7 +290,6 @@ class ModuleValidator(Validator):
|
||||
self.warnings.append('No RETURN provided')
|
||||
|
||||
if self._python_module() and not self._just_docs():
|
||||
self._check_interpreter()
|
||||
self._check_for_sys_exit()
|
||||
self._find_json_import()
|
||||
main = self._find_main_call()
|
||||
|
||||
Reference in New Issue
Block a user