1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix module validator report if skipping all files.

This commit is contained in:
Matt Clay 2017-04-26 11:15:33 +08:00
parent 8466c808d9
commit d3c006c496

View file

@ -979,9 +979,9 @@ def main():
if os.path.isfile(module):
path = module
if args.exclude and args.exclude.search(path):
sys.exit(0)
continue
if ModuleValidator.is_blacklisted(path):
sys.exit(0)
continue
with ModuleValidator(path, analyze_arg_spec=args.arg_spec,
base_branch=args.base_branch, git_cache=git_cache) as mv:
mv.validate()