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.
- package/cli.js +5 -0
- 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