Skip to content

Commit e7922d8

Browse files
committed
Stop the deprecation warning.
I swear this was needed for some platofmr so I guess we'll find out. If so, we must document why.
1 parent dc237f2 commit e7922d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/execute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const debug = DEBUG('execute');
55
export function execute(cmd, args, options) {
66
return new Promise((resolve, reject) => {
77
debug(`${cmd} ${args.join(' ')}`);
8-
const proc = spawn(cmd, args, {...options || {}, shell: true, stdio: 'inherit'});
8+
const proc = spawn(cmd, args, {...options || {}, stdio: 'inherit'});
99
proc.on('close', function(code) {
1010
const result = {exitCode: code};
1111
if (parseInt(code) !== 0) {

0 commit comments

Comments
 (0)