Skip to content

Commit 271a8fa

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
fix(package): update execa to version 2.0.0
1 parent 6f695d6 commit 271a8fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/exec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = async (cmdProp, {shell, execCwd, ...config}, {cwd, env, stdout,
88

99
logger.log('Call script %s', script);
1010

11-
const result = execa.shell(script, {shell, cwd: execCwd ? path.resolve(cwd, execCwd) : cwd, env});
11+
const result = execa(script, {shell: shell || true, cwd: execCwd ? path.resolve(cwd, execCwd) : cwd, env});
1212

1313
result.stdout.pipe(
1414
stdout,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@semantic-release/error": "^2.1.0",
2020
"aggregate-error": "^3.0.0",
2121
"debug": "^4.0.0",
22-
"execa": "^1.0.0",
22+
"execa": "^2.0.0",
2323
"lodash": "^4.17.4",
2424
"parse-json": "^4.0.0"
2525
},

0 commit comments

Comments
 (0)