From 54c3b2d40b08f699715905b151d085d37c5af789 Mon Sep 17 00:00:00 2001 From: Wooseong Kim Date: Mon, 20 Apr 2026 15:14:20 +0900 Subject: [PATCH] fix(proxy): avoid undefined status port output --- src/commands/proxy-command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/proxy-command.ts b/src/commands/proxy-command.ts index 87fd8220..391ad05e 100644 --- a/src/commands/proxy-command.ts +++ b/src/commands/proxy-command.ts @@ -136,7 +136,7 @@ async function handleStatus(args: string[] = []): Promise { const printStatus = (status: Awaited>) => { console.log( status.running - ? ok(`Proxy running on port ${status.port}`) + ? ok(`Proxy running on port ${status.port ?? 'unknown'}`) : info(`Proxy is not running${status.port ? ` (last known port ${status.port})` : ''}`) ); if (status.host && status.port) {