@nmakarov/cli-toolkit 0.47.0 → 0.49.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.
@@ -2687,6 +2687,9 @@ async function init(flow2, opts = {}) {
2687
2687
  if (context) {
2688
2688
  await runRegisteredCleanups(context);
2689
2689
  }
2690
+ if (process.exitCode && process.exitCode !== 0) {
2691
+ process.exit(process.exitCode);
2692
+ }
2690
2693
  }
2691
2694
  }
2692
2695