File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ jobs:
21
21
subsystem : tools
22
22
label : tools
23
23
run : |
24
- cd tools
25
24
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")
27
26
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
28
27
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
29
- ./update-eslint.sh
28
+ ./tools/dep_updaters/ update-eslint.sh
30
29
fi
31
30
- id : corepack
32
31
subsystem : deps
Original file line number Diff line number Diff line change 8
8
set -ex
9
9
10
10
cd " $( dirname " $0 " ) " || exit
11
- rm -rf node_modules/eslint
11
+ rm -rf ../ node_modules/eslint
12
12
(
13
13
rm -rf eslint-tmp
14
14
mkdir eslint-tmp
15
15
cd eslint-tmp || exit
16
16
17
- ROOT=" $PWD /../.."
17
+ ROOT=" $PWD /../../.. "
18
18
[ -z " $NODE " ] && NODE=" $ROOT /out/Release/node"
19
19
[ -x " $NODE " ] || NODE=$( command -v node)
20
20
NPM=" $ROOT /deps/npm/bin/npm-cli.js"
@@ -61,5 +61,5 @@ rm -rf node_modules/eslint
61
61
find node_modules -name ' README*' -exec rm {} \;
62
62
)
63
63
64
- mv eslint-tmp/node_modules/eslint node_modules/eslint
64
+ mv eslint-tmp/node_modules/eslint ../ node_modules/eslint
65
65
rm -rf eslint-tmp/
You can’t perform that action at this time.
0 commit comments