@nmakarov/cli-toolkit 0.47.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/init.cjs CHANGED
@@ -2701,6 +2701,9 @@ async function init(flow, opts = {}) {
2701
2701
  if (context) {
2702
2702
  await runRegisteredCleanups(context);
2703
2703
  }
2704
+ if (process.exitCode && process.exitCode !== 0) {
2705
+ process.exit(process.exitCode);
2706
+ }
2704
2707
  }
2705
2708
  }
2706
2709
  function setupContext(opts = {}) {