only call cppcheck once
This commit is contained in:
parent
6198bbe963
commit
b6c16a520a
1 changed files with 1 additions and 6 deletions
7
script/cpplint.py
vendored
7
script/cpplint.py
vendored
|
@ -79,12 +79,7 @@ def main():
|
|||
files = list_files('atom',
|
||||
['app', 'browser', 'common', 'renderer', 'utility'],
|
||||
['*.cc', '*.h'])
|
||||
files -= ignore
|
||||
if args.only_changed:
|
||||
files &= changed_files
|
||||
call_cpplint(list(files))
|
||||
|
||||
files = list_files('brightray', ['browser', 'common'], ['*.cc', '*.h'])
|
||||
files += list_files('brightray', ['browser', 'common'], ['*.cc', '*.h'])
|
||||
files -= ignore
|
||||
if args.only_changed:
|
||||
files &= changed_files
|
||||
|
|
Loading…
Reference in a new issue