File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ jobs:
2121 subsystem : tools
2222 label : tools
2323 run : |
24- cd tools
2524 NEW_VERSION=$(npm view eslint dist-tags.latest)
26- CURRENT_VERSION=$(node -p "require('./node_modules/eslint/package.json').version")
25+ CURRENT_VERSION=$(node -p "require('./tools/ node_modules/eslint/package.json').version")
2726 if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
2827 echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
29- ./update-eslint.sh
28+ ./tools/dep_updaters/ update-eslint.sh
3029 fi
3130 - id : corepack
3231 subsystem : deps
Original file line number Diff line number Diff line change 88set -ex
99
1010cd " $( dirname " $0 " ) " || exit
11- rm -rf node_modules/eslint
11+ rm -rf ../ node_modules/eslint
1212(
1313 rm -rf eslint-tmp
1414 mkdir eslint-tmp
1515 cd eslint-tmp || exit
1616
17- ROOT=" $PWD /../.."
17+ ROOT=" $PWD /../../.. "
1818 [ -z " $NODE " ] && NODE=" $ROOT /out/Release/node"
1919 [ -x " $NODE " ] || NODE=$( command -v node)
2020 NPM=" $ROOT /deps/npm/bin/npm-cli.js"
@@ -61,5 +61,5 @@ rm -rf node_modules/eslint
6161 find node_modules -name ' README*' -exec rm {} \;
6262)
6363
64- mv eslint-tmp/node_modules/eslint node_modules/eslint
64+ mv eslint-tmp/node_modules/eslint ../ node_modules/eslint
6565rm -rf eslint-tmp/
You can’t perform that action at this time.
0 commit comments