Fix module validator report if skipping all files.

pull/23997/head
Matt Clay 8 years ago
parent 8466c808d9
commit d3c006c496

@ -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()

Loading…
Cancel
Save