From 469fa80aa748041faf97b583728060c1bd482a8e Mon Sep 17 00:00:00 2001 From: GerA Date: Fri, 15 Sep 2017 08:40:25 +0200 Subject: [PATCH] fix: crash when passing argument to node (windows) Fixes #1095 --- lib/monitor/run.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/monitor/run.js b/lib/monitor/run.js index df5a3804..cb36ba63 100644 --- a/lib/monitor/run.js +++ b/lib/monitor/run.js @@ -66,9 +66,6 @@ function run(options) { && executable[executable.length - 1] !== '\"') { // remove all quotes from executable (possible backward compat hacks) executable = executable.replace (/\"/g, ''); - - // add quotes to beginning and end of executable - executable = '\"' + executable + '\"'; } }