Skip to content

Commit

Permalink
Unshift unique args to windows OS cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
GMartigny committed May 7, 2019
1 parent be63122 commit 483aa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -62,7 +62,7 @@ function handleArgs(command, args, options) {

if (process.platform === 'win32' && path.basename(command) === 'cmd.exe') {
// #116
args.unshift('/q');
args = [...new Set(['/q', '/d', '/s', '/c', ...args])];
}

return {command, args, options, parsed};
Expand Down

0 comments on commit 483aa5c

Please sign in to comment.