Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Unified Diff: third_party/closure_compiler/js_minify.py

Issue 2930773003: Closure compilation: Modify compile_js2.py to not swallow errors. (Closed)
Patch Set: More changes. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/js_minify.py
diff --git a/third_party/closure_compiler/js_minify.py b/third_party/closure_compiler/js_minify.py
index 52cc876aff46737bfd7ed986f46c1aa8d79fc564..7980d61673204b5d11e3433eae1ec1bea858c986 100755
--- a/third_party/closure_compiler/js_minify.py
+++ b/third_party/closure_compiler/js_minify.py
@@ -28,7 +28,7 @@ def Minify(source):
t1.write(source)
t1.seek(0)
checker = Checker()
- (compile_error, compile_stderr) = checker.check(
+ (_, compile_error, compile_stderr) = checker.check(
[t1.name],
out_file=t2.name,
closure_args=args.closure_args)
« third_party/closure_compiler/compile2.py ('K') | « third_party/closure_compiler/compiler_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698