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 8501a05 commit ada8b26Copy full SHA for ada8b26
1 file changed
tools/update-babel-eslint.sh
@@ -5,6 +5,8 @@
5
# This script must be be in the tools directory when it runs because it uses
6
# $0 to determine directories to work in.
7
8
+set -e
9
+
10
cd "$( dirname "${0}" )" || exit
11
rm -rf node_modules/@babel
12
mkdir babel-eslint-tmp
@@ -13,7 +15,7 @@ cd babel-eslint-tmp || exit
13
15
ROOT="$PWD/../.."
14
16
[ -z "$NODE" ] && NODE="$ROOT/out/Release/node"
17
[ -x "$NODE" ] || NODE=`command -v node`
-NPM="$ROOT/deps/npm"
18
+NPM="$ROOT/deps/npm/bin/npm-cli.js"
19
20
"$NODE" "$NPM" init --yes
21
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest
0 commit comments