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

Unified Diff: third_party/closure_compiler/checker.py

Issue 853983002: Fix js checker script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/checker.py
diff --git a/third_party/closure_compiler/checker.py b/third_party/closure_compiler/checker.py
index 7d4620a80d4f9e24a85d67fb272094ec6439ae6c..2eb9e68a21f606fc41e3e6ba4859649483138d13 100755
--- a/third_party/closure_compiler/checker.py
+++ b/third_party/closure_compiler/checker.py
@@ -240,7 +240,7 @@ class Checker(object):
self._expanded_file = self._create_temp_file(self._processor.contents)
self._debug("Expanded file: %s" % self._expanded_file)
- errors, stderr = self.run_js_check(self._expanded_file, depends)
+ errors, stderr = self.run_js_check([self._expanded_file], externs)
Tyler Breisacher (Chromium) 2015/01/15 20:43:09 run_js_check's first argument is a list of sources
# Filter out false-positive promise chain errors.
# See https://github.com/google/closure-compiler/issues/715 for details.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698