| Index: third_party/closure_compiler/compile.py
|
| diff --git a/third_party/closure_compiler/compile.py b/third_party/closure_compiler/compile.py
|
| index c9dcc50b352894d879dee247f2529b6a20f59866..5f99bfc22b6379bbde304c1ed72b5990a25aec55 100755
|
| --- a/third_party/closure_compiler/compile.py
|
| +++ b/third_party/closure_compiler/compile.py
|
| @@ -221,18 +221,17 @@ class Checker(object):
|
|
|
| processed_runner_args = ["--%s" % arg for arg in runner_args or []]
|
| processed_runner_args += ["--compiler-args-file=%s" % args_file]
|
| - _, stderr = self._run_jar(self._runner_jar, processed_runner_args)
|
| + return_code, stderr = self._run_jar(self._runner_jar, processed_runner_args)
|
|
|
| errors = stderr.strip().split("\n\n")
|
| maybe_summary = errors.pop()
|
|
|
| - if re.search(".*error.*warning.*typed", maybe_summary):
|
| + if return_code == 0:
|
| self._log_debug("Summary: %s" % maybe_summary)
|
| else:
|
| - # Not a summary. Running the jar failed. Bail.
|
| + # Running the jar failed.
|
| self._log_error(stderr)
|
| self._nuke_temp_files()
|
| - sys.exit(1)
|
|
|
| if errors and out_file:
|
| if os.path.exists(out_file):
|
|
|