aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/persistent_state.ts
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-05-23 09:49:34 +0100
committerKirill Bulatov <[email protected]>2021-05-23 09:49:34 +0100
commitbe3e997ddffbcfb6c75fce47c803c7abd50ef21c (patch)
treeb1ef88516a1154519af134950deb9d29d2d8e441 /editors/code/src/persistent_state.ts
parentb8635a8e6096768a5f2e382bed4af255896968f1 (diff)
Remove nightly release id from local storage for stable extensions
Diffstat (limited to 'editors/code/src/persistent_state.ts')
-rw-r--r--editors/code/src/persistent_state.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/code/src/persistent_state.ts b/editors/code/src/persistent_state.ts
index afb652589..2519bd77a 100644
--- a/editors/code/src/persistent_state.ts
+++ b/editors/code/src/persistent_state.ts
@@ -27,6 +27,9 @@ export class PersistentState {
27 async updateReleaseId(value: number) { 27 async updateReleaseId(value: number) {
28 await this.globalState.update("releaseId", value); 28 await this.globalState.update("releaseId", value);
29 } 29 }
30 async removeReleaseId() {
31 await this.globalState.update("releaseId", undefined);
32 }
30 33
31 /** 34 /**
32 * Version of the extension that installed the server. 35 * Version of the extension that installed the server.