chore(cli): enable deprecated settings removal by default (#20682)

This commit is contained in:
Yashodip More
2026-03-05 02:09:37 +05:30
committed by GitHub
parent c59ef74837
commit efec63658a
2 changed files with 35 additions and 21 deletions
+2 -3
View File
@@ -796,14 +796,13 @@ export function loadSettings(
/**
* Migrates deprecated settings to their new counterparts.
*
* TODO: After a couple of weeks (around early Feb 2026), we should start removing
* the deprecated settings from the settings files by default.
* Deprecated settings are removed from settings files by default.
*
* @returns true if any changes were made and need to be saved.
*/
export function migrateDeprecatedSettings(
loadedSettings: LoadedSettings,
removeDeprecated = false,
removeDeprecated = true,
): boolean {
let anyModified = false;
const systemWarnings: Map<LoadableSettingScope, string[]> = new Map();