Update key names in secretStorage
- Replace "devchat_version_old" with "DevChatVersionOld". - Update related variable names and function calls.
This commit is contained in:
parent
52ae15bf4c
commit
f326cf9ef3
@ -174,11 +174,11 @@ function activate(context: vscode.ExtensionContext) {
|
|||||||
let devchatStatus = '';
|
let devchatStatus = '';
|
||||||
let apiKeyStatus = '';
|
let apiKeyStatus = '';
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
const versionOld = await secretStorage.get("devchat_version_old");
|
const versionOld = await secretStorage.get("DevChatVersionOld");
|
||||||
const versionNew = extensionVersion;
|
const versionNew = extensionVersion;
|
||||||
const versionChanged = versionOld !== versionNew;
|
const versionChanged = versionOld !== versionNew;
|
||||||
await secretStorage.store("devchat_version_old", versionNew!);
|
await secretStorage.store("DevChatVersionOld", versionNew!);
|
||||||
|
|
||||||
// status item has three status type
|
// status item has three status type
|
||||||
// 1. not in a folder
|
// 1. not in a folder
|
||||||
// 2. dependence is invalid
|
// 2. dependence is invalid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user