Skip to content

Commit 3247db1

Browse files
committed
use git restore instead of git checkout
1 parent 345420e commit 3247db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"lint": "eslint --ext .ts src test",
3636
"lint:fix": "prettier --loglevel=warn --write 'src/**/*.ts' 'test/**/*.ts' && eslint --fix --ext .ts src test",
3737
"lint:print-config": "eslint --print-config .eslintrc.js",
38-
"update-dependencies": "npx rimraf node_modules/ package-lock.json && npm install && npm audit fix --force && git checkout package.json && npm install"
38+
"update-dependencies": "npx rimraf node_modules/ package-lock.json && npm install && npm audit fix --force && git restore package.json && npm install"
3939
},
4040
"homepage": "https://msgpack.org/",
4141
"repository": {

0 commit comments

Comments
 (0)