We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92090d3 commit 0463afbCopy full SHA for 0463afb
tools/update-eslint.sh
@@ -5,6 +5,8 @@
5
# This script must be in the tools directory when it runs because it uses the
6
# script source file path to determine directories to work in.
7
8
+set -e
9
+
10
cd "$( dirname "$0" )" || exit
11
rm -rf node_modules/eslint node_modules/eslint-plugin-markdown
12
(
@@ -14,7 +16,7 @@ rm -rf node_modules/eslint node_modules/eslint-plugin-markdown
14
16
ROOT="$PWD/../.."
15
17
[ -z "$NODE" ] && NODE="$ROOT/out/Release/node"
18
[ -x "$NODE" ] || NODE=`command -v node`
- NPM="$ROOT/deps/npm"
19
+ NPM="$ROOT/deps/npm/bin/npm-cli.js"
20
21
"$NODE" "$NPM" init --yes
22
0 commit comments