| Index: catapult_build/js_checks.py
|
| diff --git a/catapult_build/js_checks.py b/catapult_build/js_checks.py
|
| index 61a5eeaa56fc72444a8b114fb5d0926fdc59d7a4..ce92406b54d2e6de5b84bc9cce30f7117c844c4a 100644
|
| --- a/catapult_build/js_checks.py
|
| +++ b/catapult_build/js_checks.py
|
| @@ -4,7 +4,7 @@
|
|
|
| import re
|
|
|
| -from node_runner import node_util
|
| +import eslint
|
| from py_vulcanize import strip_js_comments
|
|
|
| from catapult_build import parse_html
|
| @@ -84,7 +84,7 @@ class JSChecker(object):
|
| error_lines += filter(None, [self.ConstCheck(i, line)])
|
|
|
| if affected_js_files:
|
| - eslint_output = node_util.RunEslint(
|
| + eslint_output = eslint.RunEslint(
|
| [f.AbsoluteLocalPath() for f in affected_js_files]).rstrip()
|
|
|
| if eslint_output:
|
|
|