Don't pass root_dir to scan_source

This commit is contained in:
mimi89999 2017-05-25 20:11:14 +02:00
parent fe2d65df73
commit 2626858450
No known key found for this signature in database
GPG Key ID: 4B054AC4922D7B18
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
else:
# Scan before building...
logging.info("Scanning source for common problems...")
count = scanner.scan_source(build_dir, root_dir, build)
count = scanner.scan_source(build_dir, build)
if count > 0:
if force:
logging.warn('Scanner found %d problems' % count)