fix(coding-agent): exit on resume cancel
This commit is contained in:
@@ -449,7 +449,8 @@ export async function main(args: string[]) {
|
|||||||
time("selectSession");
|
time("selectSession");
|
||||||
if (!selectedPath) {
|
if (!selectedPath) {
|
||||||
console.log(chalk.dim("No session selected"));
|
console.log(chalk.dim("No session selected"));
|
||||||
return;
|
stopThemeWatcher();
|
||||||
|
process.exit(0);
|
||||||
}
|
}
|
||||||
sessionManager = SessionManager.open(selectedPath);
|
sessionManager = SessionManager.open(selectedPath);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user