| Index: third_party/closure_compiler/compile2.py
|
| diff --git a/third_party/closure_compiler/compile2.py b/third_party/closure_compiler/compile2.py
|
| index 224856d7227192fd022b0f655d4574c414254349..a237f4b71141d44d04c2d2a472d0cc52c56085bf 100755
|
| --- a/third_party/closure_compiler/compile2.py
|
| +++ b/third_party/closure_compiler/compile2.py
|
| @@ -243,7 +243,7 @@ class Checker(object):
|
|
|
| self._log_debug("Args: %s" % " ".join(args))
|
|
|
| - _, stderr = self.run_jar(self._compiler_jar, args)
|
| + return_code, stderr = self.run_jar(self._compiler_jar, args)
|
|
|
| errors = stderr.strip().split("\n\n")
|
| maybe_summary = errors.pop()
|
| @@ -280,7 +280,7 @@ class Checker(object):
|
| self._log_debug("Output: %s" % output)
|
|
|
| self._nuke_temp_files()
|
| - return bool(errors), stderr
|
| + return bool(errors) or return_code > 0, stderr
|
|
|
|
|
| if __name__ == "__main__":
|
|
|