From be3e997ddffbcfb6c75fce47c803c7abd50ef21c Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 23 May 2021 11:49:34 +0300 Subject: Remove nightly release id from local storage for stable extensions --- editors/code/src/persistent_state.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editors/code/src/persistent_state.ts') 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 { async updateReleaseId(value: number) { await this.globalState.update("releaseId", value); } + async removeReleaseId() { + await this.globalState.update("releaseId", undefined); + } /** * Version of the extension that installed the server. -- cgit v1.2.3