From 4f3f3e82201429b766c63d550d22b6b8f8f826ad Mon Sep 17 00:00:00 2001 From: nightwing Date: Sun, 30 Apr 2017 21:35:57 +0400 Subject: [PATCH] remove workaround for broken escaping in old ptyjs on windows --- node_modules/vfs-local/localfs.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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();