Index: third_party/closure_compiler/compile2.py |
diff --git a/third_party/closure_compiler/compile2.py b/third_party/closure_compiler/compile2.py |
index df844d129109dc082700ee9e89fe45d6dc534117..c6b47dfc72746d2942f6345aaf7d9ccc236b2b74 100755 |
--- a/third_party/closure_compiler/compile2.py |
+++ b/third_party/closure_compiler/compile2.py |
@@ -53,7 +53,7 @@ class Checker(object): |
"""Deletes any temp files this class knows about.""" |
if not self._temp_files: |
return |
- |
+ return |
Dan Beam
2016/07/14 17:47:58
remove
|
self._log_debug("Deleting temp files: %s" % ", ".join(self._temp_files)) |
for f in self._temp_files: |
os.remove(f) |
@@ -270,7 +270,7 @@ class Checker(object): |
errors = stderr.strip().split("\n\n") |
maybe_summary = errors.pop() |
- if re.search(".*error.*warning.*typed", maybe_summary): |
+ if re.search(".*error.*warning", maybe_summary): |
self._log_debug("Summary: %s" % maybe_summary) |
else: |
# Not a summary. Running the jar failed. Bail. |