We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53b8b58 commit 46cc5aeCopy full SHA for 46cc5ae
1 file changed
tasks.json
@@ -208,7 +208,9 @@
208
{
209
"description": "Upgrade npm to the latest version to resolve the issue.",
210
"expectedCommand": "npm install -g npm@latest",
211
- "checkCommand": "! npm -v | grep -q '^10\\.8\\.0$' && npm doctor | awk '/Checking npm version/{getline; print}' | grep -q '^Ok$'",
+ "beforeCommand": "npm install -g npm@10.9.0",
212
+ "windowsBeforeCommand": "npm install -g npm@10.9.0",
213
+ "checkCommand": "! npm -v | grep -q '^10\\.8\\.0$'",
214
"windowsCheckCommand": "(npm -v | findstr \"10.8.0\" || exit 0)",
215
"requireSudo": true,
216
"explanation": "Upgrades npm to the latest version so that npm doctor no longer reports it as outdated."
0 commit comments