diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index bab71109..b93e1d75 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -2214,10 +2214,7 @@ module.exports = function setup(fsOptions) { } if (options.command) { - args.push("-c", "nodosfilewarning=1;" + options.command); - - var cmd = args[args.length - 1]; - args[args.length - 1] = '"' + cmd.replace(/"/g, '\\"') + '"'; + args.push("-c", (isWin ? "nodosfilewarning=1;": "") + options.command); } run();