From def186327c9ad58d9ea5a5bd7f4da3c9f54fd6af Mon Sep 17 00:00:00 2001 From: Daniel Riccio Date: Wed, 2 Jul 2025 16:15:10 -0500 Subject: [PATCH] fix: remove console.log statements from migrateSettings.ts --- src/utils/migrateSettings.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/utils/migrateSettings.ts b/src/utils/migrateSettings.ts index 30397dc75b..b880837723 100644 --- a/src/utils/migrateSettings.ts +++ b/src/utils/migrateSettings.ts @@ -166,10 +166,8 @@ export async function migrateTaskHistoryWithContextProxy( ) const tasksWithoutWorkspace = taskHistory.filter((task) => !task.workspace) - // Log migration statistics for telemetry - console.log( - `Migrating task history: ${workspaceTasks.length} tasks for current workspace, ${otherWorkspaceTasks.length} for other workspaces, ${tasksWithoutWorkspace.length} without workspace`, - ) + // Migration statistics: workspaceTasks.length tasks for current workspace, + // otherWorkspaceTasks.length for other workspaces, tasksWithoutWorkspace.length without workspace // Migrate tasks for current workspace and tasks without workspace const tasksToMigrate = [...workspaceTasks, ...tasksWithoutWorkspace] @@ -215,8 +213,7 @@ export async function migrateTaskHistoryWithContextProxy( // Set the migration flag to prevent future migrations await context.globalState.update(migrationKey, true) - // Log successful migration - console.log(`Task history migration completed successfully for workspace: ${currentWorkspacePath}`) + // Task history migration completed successfully } catch (error) { console.error("Failed to migrate task history to workspace:", error) // Report error to telemetry if available