@dotenvx/dotenvx
Advanced tools
Comparing version 0.6.9 to 0.6.10
{ | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"name": "@dotenvx/dotenvx", | ||
@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`", |
@@ -29,2 +29,16 @@ const fs = require('fs') | ||
subprocess.on('close', (code) => { | ||
if (code > 0) { | ||
logger.error(`command [${subCommand.join(' ')}] failed (code: ${code})`) | ||
logger.error('') | ||
logger.error(` try without dotenvx: [${subCommand.join(' ')}]`) | ||
logger.error('') | ||
logger.error('if that succeeds, then dotenvx is the culprit. report issue:') | ||
logger.error(`<${REPORT_ISSUE_LINK}>`) | ||
} | ||
process.exit(code) | ||
}) | ||
subprocess.on('error', (err) => { | ||
logger.error(err) | ||
logger.error(`command [${subCommand.join(' ')}] failed`) | ||
@@ -36,6 +50,3 @@ logger.error('') | ||
logger.error(`<${REPORT_ISSUE_LINK}>`) | ||
process.exit(code) | ||
}) | ||
subprocess.on('error', (_err) => { | ||
process.exit(1) | ||
@@ -42,0 +53,0 @@ }) |
29383
584