mirror of
https://github.com/electron/electron.git
synced 2026-02-16 01:56:59 -05:00
only call cppcheck once
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user