diff --git a/Makefile b/Makefile index e9c5a2e6bbcf17..66e23f905ffe1a 100644 --- a/Makefile +++ b/Makefile @@ -922,7 +922,7 @@ cpplint: @$(PYTHON) tools/cpplint.py $(CPPLINT_FILES) @$(PYTHON) tools/check-imports.py -ifneq ("","$(wildcard tools/eslint/bin/eslint.js)") +ifneq ("","$(wildcard tools/eslint/)") lint: @EXIT_STATUS=0 ; \ $(MAKE) jslint || EXIT_STATUS=$$? ; \ @@ -943,7 +943,6 @@ lint: @echo "Linting is not available through the source tarball." @echo "Use the git repo instead:" \ "$ git clone https://github.com/nodejs/node.git" - exit 1 lint-ci: lint endif diff --git a/doc/api/cli.md b/doc/api/cli.md index b23311281df807..0dea115d4628a0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -65,6 +65,7 @@ changes: Identical to `-e` but prints the result. +*Note*: For options `-e` and `-p` please use double quote for the script, although it does not matter on the Linux that you use double quote or a single quote, on the Windows it makes a difference. On the Windows a single quote will not work correctly because Windows shell traditionally uses double quote as the quote char. ### `-c`, `--check`