Changesets · Branches · Tags · Compare
| Changeset | 967296c57a8348e6d2e859df020100b23ef5d8d9504232ee7ff8612fecf55002 |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-09-08 10:25 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-09-08 10:25 -07:00 |
| Parents | b4ebb5b5ebbb |
1 file changed
modified extensions/cli/src/infoScreen.ts +2 −1
| @@ -10,6 +10,7 @@ | ||
| 10 | 10 | import { services } from "./services/index.js"; |
| 11 | 11 | import { getCurrentSession, getSessionFilePath } from "./session.js"; |
| 12 | 12 | import { posthogService } from "./telemetry/posthogService.js"; |
| 13 | +import { logger } from "./util/logger.js"; | |
| 13 | 14 | import { getVersion } from "./version.js"; |
| 14 | 15 | |
| 15 | 16 | export async function handleInfoSlashCommand() { |
| @@ -114,7 +115,7 @@ | ||
| 114 | 115 | }).trim(); |
| 115 | 116 | } catch (error) { |
| 116 | 117 | // If npm command fails, fallback to "unknown" |
| 117 | - console.warn("Failed to get npm version:", error); | |
| 118 | + logger.warn("Failed to get npm version:", error); | |
| 118 | 119 | } |
| 119 | 120 | |
| 120 | 121 | // Diagnostic info |