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): 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…
Cancel
Save