diff --git a/Makefile b/Makefile index 1aa317c88f0..ae4925af0c9 100644 --- a/Makefile +++ b/Makefile @@ -903,7 +903,7 @@ cpplint: @$(PYTHON) tools/cpplint.py $(CPPLINT_FILES) @$(PYTHON) tools/check-imports.py -ifneq ("","$(wildcard tools/eslint/lib/eslint.js)") +ifneq ("","$(wildcard tools/eslint/bin/eslint.js)") lint: @EXIT_STATUS=0 ; \ $(MAKE) jslint || EXIT_STATUS=$$? ; \ diff --git a/vcbuild.bat b/vcbuild.bat index fcedcb387f2..df54d0ea02b 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -472,7 +472,7 @@ goto exit :jslint if defined jslint_ci goto jslint-ci if not defined jslint goto exit -if not exist tools\eslint\lib\eslint.js goto no-lint +if not exist tools\eslint\bin\eslint.js goto no-lint echo running jslint %config%\node tools\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules --ext=.js,.md benchmark doc lib test tools goto exit