From ee8634453ed6c11b36385aecfcf9b3df4b765eee Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 5 Feb 2025 13:50:06 -0800 Subject: [PATCH] comment out toast --- core/config/migrateSharedConfig.ts | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/core/config/migrateSharedConfig.ts b/core/config/migrateSharedConfig.ts index b68e3adec..189bb21ed 100644 --- a/core/config/migrateSharedConfig.ts +++ b/core/config/migrateSharedConfig.ts @@ -1,13 +1,9 @@ -import * as fs from "fs"; - -import * as JSONC from "comment-json"; - -import { IDE, SerializedContinueConfig } from ".."; -import { SharedConfigSchema } from "./sharedConfig"; +import { IDE } from ".."; +import { deduplicateArray } from "../util"; import { GlobalContext } from "../util/GlobalContext"; import { editConfigJson } from "../util/paths"; import { resolveSerializedConfig } from "./load"; -import { deduplicateArray } from "../util"; +import { SharedConfigSchema } from "./sharedConfig"; /* This migration function eliminates deprecated values from the json file @@ -201,10 +197,10 @@ export function migrateJsonSharedConfig(filepath: string, ide: IDE): void { if (effected) { new GlobalContext().updateSharedConfig(shareConfigUpdates); editConfigJson(() => config); - void ide.showToast( - "warning", - "Migrated deprecated Continue JSON settings. Edit in the Settings Page", - ); + // void ide.showToast( + // "warning", + // "Migrated deprecated Continue JSON settings. Edit in the Settings Page", + // ); } } catch (e) { throw new Error(`Migration: Failed to parse config.json: ${e}`);