Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.map(error => {
debugLog(`[CLI] Exited with an error`, error);
return { msg: isDetailedError(error) ? error.details : null, rawError: error };
})
.map(({ msg, rawError }, i) => {