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:
parent
8466c808d9
commit
d3c006c496
1 changed files with 2 additions and 2 deletions
|
@ -979,9 +979,9 @@ def main():
|
||||||
if os.path.isfile(module):
|
if os.path.isfile(module):
|
||||||
path = module
|
path = module
|
||||||
if args.exclude and args.exclude.search(path):
|
if args.exclude and args.exclude.search(path):
|
||||||
sys.exit(0)
|
continue
|
||||||
if ModuleValidator.is_blacklisted(path):
|
if ModuleValidator.is_blacklisted(path):
|
||||||
sys.exit(0)
|
continue
|
||||||
with ModuleValidator(path, analyze_arg_spec=args.arg_spec,
|
with ModuleValidator(path, analyze_arg_spec=args.arg_spec,
|
||||||
base_branch=args.base_branch, git_cache=git_cache) as mv:
|
base_branch=args.base_branch, git_cache=git_cache) as mv:
|
||||||
mv.validate()
|
mv.validate()
|
||||||
|
|
Loading…
Reference in a new issue