cherrypick-interactive 1.14.4 → 1.14.5

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.
Files changed (2) hide show
  1. package/cli.js +5 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -1621,6 +1621,11 @@ async function main() {
1621
1621
  await deleteSession();
1622
1622
 
1623
1623
  log(chalk.green(`\n✅ Done on ${finalBranch}`));
1624
+
1625
+ // Allow process to exit naturally. stdin.ref() may have been called
1626
+ // after ink unmount to keep inquirer prompts working; unref it now
1627
+ // so the event loop can drain.
1628
+ process.stdin.unref();
1624
1629
  } catch (e) {
1625
1630
  err(chalk.red(`\n❌ Error: ${e.message || e}`));
1626
1631
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cherrypick-interactive",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "description": "Interactively cherry-pick commits that are in dev but not in main, using subject-based comparison.",
5
5
  "main": "cli.js",
6
6
  "bin": "cli.js",