diff --git a/script/cpplint.py b/script/cpplint.py index 1cd84dda1207..fb73cdf01036 100755 --- a/script/cpplint.py +++ b/script/cpplint.py @@ -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