From 6579bb37bf136ebc3f58eaba2b729ee92d63df94 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" <23040076+greenkeeper[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2019 13:34:12 +0000 Subject: [PATCH] fix(package): update execa to version 2.0.2 --- lib/exec.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/exec.js b/lib/exec.js index c036c109..63c32b85 100644 --- a/lib/exec.js +++ b/lib/exec.js @@ -8,7 +8,7 @@ module.exports = async (cmdProp, {shell, execCwd, ...config}, {cwd, env, stdout, logger.log('Call script %s', script); - const result = execa.shell(script, {shell, cwd: execCwd ? path.resolve(cwd, execCwd) : cwd, env}); + const result = execa(script, {shell: shell || true, cwd: execCwd ? path.resolve(cwd, execCwd) : cwd, env}); result.stdout.pipe( stdout, diff --git a/package.json b/package.json index 281af8c7..5ed12a0c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@semantic-release/error": "^2.1.0", "aggregate-error": "^3.0.0", "debug": "^4.0.0", - "execa": "^1.0.0", + "execa": "^2.0.2", "lodash": "^4.17.4", "parse-json": "^5.0.0" },