Skip to content

Commit 6525226

Browse files
Trottdanielleadams
authored andcommitted
tools: remove unneeded tool in update-eslint.sh
The tool to remove absolute paths from package.json files is no longer necessary. It appears that npm no longer stores these paths, or at least not in a way that causes the kind of churn we saw in the past. PR-URL: #40995 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 5400b79 commit 6525226

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/update-eslint.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ rm -rf node_modules/eslint
2727
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean
2828
# TODO: Get this into dmn.
2929
find node_modules -name .package-lock.json -exec rm {} \;
30-
# Use removeNPMAbsolutePaths to remove unused data in package.json.
31-
# This avoids churn as absolute paths can change from one dev to another.
32-
"$NODE" "$NPM" exec -- removeNPMAbsolutePaths@1.0.4 .
3330
)
3431

3532
mv eslint-tmp/node_modules/eslint node_modules/eslint

0 commit comments

Comments
 (0)