| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -648,7 +648,8 @@ function normalizeSpawnArguments(file, args, options) { | |||
| 648 | 648 | 'DEP0190'); | |
| 649 | 649 | emittedDEP0190Already = true; | |
| 650 | 650 | } | |
| 651 | - const command = ArrayPrototypeJoin([file, ...args], ' '); | ||
| 651 | + | ||
| 652 | + const command = args.length > 0 ? `${file} ${ArrayPrototypeJoin(args, ' ')}` : file; | ||
| 652 | 653 | // Set the shell, switches, and commands. | |
| 653 | 654 | if (process.platform === 'win32') { | |
| 654 | 655 | if (typeof options.shell === 'string') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments