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)