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 <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
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

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ rm -rf node_modules/eslint
2727
"$NODE" "$NPM" exec -- [email protected] -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 -- [email protected] .
3330
)
3431

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

0 commit comments

Comments
 (0)