Stop using constants for deprecated keys

This commit is contained in:
Koen Vlaswinkel
2024-10-14 16:51:45 +02:00
parent 13e1b6c1c1
commit f76100bcc1

View File

@@ -326,11 +326,11 @@ class ExtensionSpecificDistributionManager {
this.distributionState = {
folderIndex: this.extensionContext.globalState.get(
ExtensionSpecificDistributionManager._currentDistributionFolderIndexStateKey,
"distributionFolderIndex",
0,
),
release: (this.extensionContext.globalState.get(
ExtensionSpecificDistributionManager._installedReleaseStateKey,
"distributionRelease",
) ?? null) as Release | null,
};
@@ -710,9 +710,6 @@ class ExtensionSpecificDistributionManager {
}
private static readonly _currentDistributionFolderBaseName = "distribution";
private static readonly _currentDistributionFolderIndexStateKey =
"distributionFolderIndex";
private static readonly _installedReleaseStateKey = "distributionRelease";
private static readonly _codeQlExtractedFolderName = "codeql";
private static readonly _distributionStateFilename = "distribution.json";
}