@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.
@@ -2703,6 +2703,9 @@ async function init(flow2, opts = {}) {
2703
2703
  if (context) {
2704
2704
  await runRegisteredCleanups(context);
2705
2705
  }
2706
+ if (process.exitCode && process.exitCode !== 0) {
2707
+ process.exit(process.exitCode);
2708
+ }
2706
2709
  }
2707
2710
  }
2708
2711