diff --git a/npm-scripts.mjs b/npm-scripts.mjs index 7ed204a47e..362148240f 100644 --- a/npm-scripts.mjs +++ b/npm-scripts.mjs @@ -338,7 +338,7 @@ function deleteNodeLib() else { // NOTE: This command fails in Windows if the dir doesn't exist. - spawnCmd('rmdir', [ '/s', '/q', 'node/lib' ], /* exitOnError */ false); + spawnCmd('rmdir', [ '/s', '/q', '"node/lib"' ], /* exitOnError */ false); } }