Skip to content

Commit def1863

Browse files
committed
fix: remove console.log statements from migrateSettings.ts
1 parent 020567f commit def1863

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/utils/migrateSettings.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,8 @@ export async function migrateTaskHistoryWithContextProxy(
166166
)
167167
const tasksWithoutWorkspace = taskHistory.filter((task) => !task.workspace)
168168

169-
// Log migration statistics for telemetry
170-
console.log(
171-
`Migrating task history: ${workspaceTasks.length} tasks for current workspace, ${otherWorkspaceTasks.length} for other workspaces, ${tasksWithoutWorkspace.length} without workspace`,
172-
)
169+
// Migration statistics: workspaceTasks.length tasks for current workspace,
170+
// otherWorkspaceTasks.length for other workspaces, tasksWithoutWorkspace.length without workspace
173171

174172
// Migrate tasks for current workspace and tasks without workspace
175173
const tasksToMigrate = [...workspaceTasks, ...tasksWithoutWorkspace]
@@ -215,8 +213,7 @@ export async function migrateTaskHistoryWithContextProxy(
215213
// Set the migration flag to prevent future migrations
216214
await context.globalState.update(migrationKey, true)
217215

218-
// Log successful migration
219-
console.log(`Task history migration completed successfully for workspace: ${currentWorkspacePath}`)
216+
// Task history migration completed successfully
220217
} catch (error) {
221218
console.error("Failed to migrate task history to workspace:", error)
222219
// Report error to telemetry if available

0 commit comments

Comments
 (0)