Index: chrome/common/extensions/api/PRESUBMIT.py |
diff --git a/chrome/common/extensions/api/PRESUBMIT.py b/chrome/common/extensions/api/PRESUBMIT.py |
index c6eae7e19f2a4d8b0ce01e74103b17619135879f..20d61fa8b06500277977202a5593842e12b8dd97 100644 |
--- a/chrome/common/extensions/api/PRESUBMIT.py |
+++ b/chrome/common/extensions/api/PRESUBMIT.py |
@@ -28,7 +28,8 @@ def _GetParseErrors(input_api, output_api): |
input_api, output_api, '.', whitelist=[r'^PRESUBMIT_test\.py$']) |
for affected_file in input_api.AffectedFiles( |
- file_filter=lambda f: f.LocalPath().endswith('.json')): |
+ file_filter=lambda f: f.LocalPath().endswith('.json'), |
+ include_deletes=False): |
filename = affected_file.AbsoluteLocalPath() |
contents = input_api.ReadFile(filename) |
parse_error = _GetJSONParseError(input_api, contents) |