Remove leading spaces from resume session hint

This commit is contained in:
Mario Zechner
2026-05-29 23:30:02 +02:00
parent ba2d313858
commit 778f519b23
2 changed files with 2 additions and 2 deletions

View File

@@ -3302,7 +3302,7 @@ export class InteractiveMode {
const resumeCommand = formatResumeCommand(this.sessionManager);
if (resumeCommand) {
process.stdout.write(` ${chalk.dim("To resume this session:")} ${resumeCommand}\n`);
process.stdout.write(`${chalk.dim("To resume this session:")} ${resumeCommand}\n`);
}
process.exit(0);

View File

@@ -146,7 +146,7 @@ describe("InteractiveMode.shutdown ordering (#5080)", () => {
expect(order).toEqual(["drainInput", "stop", "dispose"]);
expect(stdoutWrite).toHaveBeenCalledWith(
` ${chalk.dim("To resume this session:")} ${APP_NAME} --session test-session\n`,
`${chalk.dim("To resume this session:")} ${APP_NAME} --session test-session\n`,
);
});