Skip to content

Commit f326cf9

Browse files
committed
Update key names in secretStorage
- Replace "devchat_version_old" with "DevChatVersionOld". - Update related variable names and function calls.
1 parent 52ae15b commit f326cf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ function activate(context: vscode.ExtensionContext) {
174174
let devchatStatus = '';
175175
let apiKeyStatus = '';
176176
setInterval(async () => {
177-
const versionOld = await secretStorage.get("devchat_version_old");
177+
const versionOld = await secretStorage.get("DevChatVersionOld");
178178
const versionNew = extensionVersion;
179179
const versionChanged = versionOld !== versionNew;
180-
await secretStorage.store("devchat_version_old", versionNew!);
181-
180+
await secretStorage.store("DevChatVersionOld", versionNew!);
181+
182182
// status item has three status type
183183
// 1. not in a folder
184184
// 2. dependence is invalid

0 commit comments

Comments
 (0)