From 866aab0885444d92cc4728dbc19c55f98b3b3637 Mon Sep 17 00:00:00 2001 From: Paul Hatcherian <1835615+PaulHatch@users.noreply.github.com> Date: Wed, 7 Oct 2020 08:02:42 -0400 Subject: [PATCH] Ignore exec failures (these are handled in code) --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 29a6684..26b9f5a 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,8 @@ const cmd = async (command, ...args) => { }; options.listeners = { stdout: (data) => { output += data.toString(); }, - stderr: (data) => { errors += data.toString(); } + stderr: (data) => { errors += data.toString(); }, + ignoreReturnCode: true }; await exec.exec(command, args, options)