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

Unified Diff: tools/web_dev_style/js_checker.py

Issue 2889113002: web_dev_style: Fix errors in new directories and enable PRESUBMIT (Closed)
Patch Set: merge+fix Created 3 years, 7 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: tools/web_dev_style/js_checker.py
diff --git a/tools/web_dev_style/js_checker.py b/tools/web_dev_style/js_checker.py
index ab3a54661e8e3c55c3f9194b949958e7b2b157b1..a42a1a22aeef70d5e538bde352d2f0fac7aaf38a 100644
--- a/tools/web_dev_style/js_checker.py
+++ b/tools/web_dev_style/js_checker.py
@@ -93,9 +93,8 @@ class JSChecker(object):
"""
results = []
- affected_files = self.input_api.change.AffectedFiles(
- file_filter=self.file_filter,
- include_deletes=False)
+ affected_files = self.input_api.AffectedFiles(file_filter=self.file_filter,
+ include_deletes=False)
affected_js_files = filter(lambda f: f.LocalPath().endswith('.js'),
affected_files)
for f in affected_js_files:

Powered by Google App Engine
This is Rietveld 408576698