mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Um, that was dumb, and apparently not tested, good job self.
This commit is contained in:
@@ -227,7 +227,7 @@ class ModuleValidator(Validator):
|
||||
main = self._find_main_call()
|
||||
for mu in module_utils:
|
||||
if mu < main - 10:
|
||||
self.errors.warnings('module_utils import not near main()')
|
||||
self.warnings.append('module_utils import not near main()')
|
||||
|
||||
self._find_has_import()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user