Skip to content

Commit 791cc0b

Browse files
committed
Harden CLI and webhook redacted outputs
1 parent dc1b427 commit 791cc0b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/cli/commands.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ function safeDoctorStatus(status: Awaited<ReturnType<typeof buildConnectionStatu
117117
has_refresh_token: raw.token.has_refresh_token,
118118
has_di_token: raw.token.has_di_token
119119
} : undefined,
120-
oauth: raw.oauth ? {
121-
scope_status: raw.oauth.scope_status
122-
} : undefined,
123120
cache: raw.cache ? {
124121
enabled: Boolean(raw.cache.enabled)
125122
} : undefined,
@@ -133,9 +130,9 @@ function printDoctor(status: Awaited<ReturnType<typeof buildConnectionStatus>>):
133130
const fail = "✗";
134131
const info = "·";
135132
const check = (passed: boolean) => (passed ? ok : fail);
136-
const line = (mark: string, label: string, detail?: string) => {
133+
const line = (mark: string, label: string, _detail?: string) => {
137134
const labelCol = label.padEnd(28);
138-
console.log(` ${mark} ${labelCol}${detail ? ` ${detail}` : ""}`);
135+
console.log(` ${mark} ${labelCol}`);
139136
};
140137

141138
console.log("Garmin MCP · Doctor");

0 commit comments

Comments
 (0)