Index: cc/PRESUBMIT.py |
diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py |
index 71c4ea1f1f635c299524eea77c4787a3037ef4fe..ec73b0f8dbcb1e505c1beef53eb7758459c4a918 100644 |
--- a/cc/PRESUBMIT.py |
+++ b/cc/PRESUBMIT.py |
@@ -11,7 +11,7 @@ for more details about the presubmit API built into depot_tools. |
import re |
import string |
-CC_SOURCE_FILES=(r'^cc/.*\.(cc|h)$', r'^cc\\.*\.(cc|h)$') |
+CC_SOURCE_FILES=(r'^cc[\\\/].*\.(cc|h)$',) |
tfarina
2015/01/31 00:55:10
CRAZY! Adding the comma at the end made it pass.
danakj
2015/01/31 00:58:22
Yes, it expects CC_SOURCE_FILES[0] to be a regex,
|
def CheckChangeLintsClean(input_api, output_api): |
input_api.cpplint._cpplint_state.ResetErrorCounts() # reset global state |