mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
017cdcd76a
commit
e5cccdfd74
1 file changed
-3
@@ -27,9 +27,6 @@ rm -rf node_modules/eslint
|
||||
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean
|
||||
# TODO: Get this into dmn.
|
||||
find node_modules -name .package-lock.json -exec rm {} \;
|
||||
# Use removeNPMAbsolutePaths to remove unused data in package.json.
|
||||
# This avoids churn as absolute paths can change from one dev to another.
|
||||
"$NODE" "$NPM" exec -- removeNPMAbsolutePaths@1.0.4 .
|
||||
)
|
||||
|
||||
mv eslint-tmp/node_modules/eslint node_modules/eslint
|
||||
|
||||
Reference in new issue
Block a user