Skip to content

Commit bb44220

Browse files
ndmitchellfacebook-github-bot
authored andcommitted
Improve the upgrade instructions
Summary: Sometimes `npm audit fix` works (it used to be never, but it just worked for me), so recommend that first. Reviewed By: krallin Differential Revision: D41079526 fbshipit-source-id: 549d50e95b0fdc7c9b9611754256ab4caa76974b
1 parent ac95b96 commit bb44220

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vscode/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ You need to have npm v7+ installed. Afterwards, run `npm install` in this folder
3838
Every few months security advisories will arrive about pinned versions of packages.
3939

4040
* `npm audit` to see which packages have security updates.
41-
* `npm update` to update the necessary packages.
41+
* `npm audit fix` to fix those issues.
42+
* Try `npm audit`, if it still has issues run `npm udpate`.
4243
* `npm exec vsce package` to confirm everything still works.

0 commit comments

Comments
 (0)