Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 0d5bb177db8d538c7bf65124b9380370979107e4..54adadb4af02659e16723adc101393f9ee6630c8 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -71,9 +71,11 @@ def _V8PresubmitChecks(input_api, output_api): |
from presubmit import CheckStatusFiles |
results = [] |
- if not CppLintProcessor().RunOnFiles(input_api.AffectedFiles()): |
+ if not CppLintProcessor().RunOnFiles( |
+ input_api.AffectedFiles(include_deletes=False)): |
results.append(output_api.PresubmitError("C++ lint check failed")) |
- if not SourceProcessor().RunOnFiles(input_api.AffectedFiles()): |
+ if not SourceProcessor().RunOnFiles( |
+ input_api.AffectedFiles(include_deletes=False)): |
results.append(output_api.PresubmitError( |
"Copyright header, trailing whitespaces and two empty lines " \ |
"between declarations check failed")) |