We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e030dd7 commit c26ba08Copy full SHA for c26ba08
tools/update-eslint.sh
@@ -2,7 +2,7 @@
2
3
# Shell script to update ESLint in the source tree to the latest release.
4
5
-# Depends on npm and node being in $PATH.
+# Depends on npm, npx, and node being in $PATH.
6
7
# This script must be be in the tools directory when it runs because it uses
8
# $BASH_SOURCE[0] to determine directories to work in.
@@ -19,11 +19,8 @@ cd node_modules/eslint
19
npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown@next
20
cd ../..
21
22
-# Install dmn if it is not in path.
23
-type -P dmn || npm install -g dmn
24
-
25
# Use dmn to remove some unneeded files.
26
-dmn -f clean
+npx dmn -f clean
27
28
cd ..
29
mv eslint-tmp/node_modules/eslint node_modules/eslint
0 commit comments