Elffuss BraidHub

kikocis/continue public

fix: use logger instead of console
Changeset967296c57a8348e6d2e859df020100b23ef5d8d9504232ee7ff8612fecf55002
AuthorNate <sestinj@gmail.com> · 2025-09-08 10:25 -07:00
CommitterNate <sestinj@gmail.com> · 2025-09-08 10:25 -07:00
Parentsb4ebb5b5ebbb

Browse the files at this changeset

1 file changed

modified extensions/cli/src/infoScreen.ts +2 −1
@@ -10,6 +10,7 @@
1010 import { services } from "./services/index.js";
1111 import { getCurrentSession, getSessionFilePath } from "./session.js";
1212 import { posthogService } from "./telemetry/posthogService.js";
13+import { logger } from "./util/logger.js";
1314 import { getVersion } from "./version.js";
1415
1516 export async function handleInfoSlashCommand() {
@@ -114,7 +115,7 @@
114115 }).trim();
115116 } catch (error) {
116117 // 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);
118119 }
119120
120121 // Diagnostic info