From 608cd557a4ab134dbe04016dc7dbd49dfc632737 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" <23040076+greenkeeper[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2019 13:34:28 +0000 Subject: [PATCH] fix(package): update execa to version 2.0.2 --- lib/verify.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/verify.js b/lib/verify.js index 4b30c91..0371e57 100644 --- a/lib/verify.js +++ b/lib/verify.js @@ -11,7 +11,7 @@ module.exports = async (pluginConfig, context) => { errors.push(getError('ENOAPMTOKEN')); } - if ((await execa('apm', ['-v'], {reject: false, cwd, env})).code !== 0) { + if ((await execa('apm', ['-v'], {reject: false, cwd, env})).exitCode !== 0) { errors.push(getError('ENOAPMCLI')); } diff --git a/package.json b/package.json index a5d3dc8..d2235c8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dependencies": { "@semantic-release/error": "^2.2.0", "aggregate-error": "^3.0.0", - "execa": "^1.0.0", + "execa": "^2.0.2", "npm": "^6.4.1", "read-pkg": "^5.0.0" },