Remove leading spaces from resume session hint
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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`,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user