| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ebb9090 commit 3414e42
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,9 +6,9 @@ const child_process = require('child_process'); | |||
| 6 | 6 | ||
| 7 | 7 | const testScript = path.join(common.fixturesDir, 'catch-stdout-error.js'); | |
| 8 | 8 | ||
| 9 | - const cmd = JSON.stringify(process.execPath) + ' ' + | ||
| 10 | - JSON.stringify(testScript) + ' | ' + | ||
| 11 | - JSON.stringify(process.execPath) + ' ' + | ||
| 9 | + const cmd = `${JSON.stringify(process.execPath)} ` + | ||
| 10 | + `${JSON.stringify(testScript)} | ` + | ||
| 11 | + `${JSON.stringify(process.execPath)} ` + | ||
| 12 | 12 | '-pe "process.stdin.on(\'data\' , () => process.exit(1))"'; | |
| 13 | 13 | ||
| 14 | 14 | const child = child_process.exec(cmd); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments