aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.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/main.ts
parentb8635a8e6096768a5f2e382bed4af255896968f1 (diff)
Remove nightly release id from local storage for stable extensions
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index ee2c50dc7..5db66df93 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -156,9 +156,11 @@ export async function deactivate() {
156async function bootstrap(config: Config, state: PersistentState): Promise<string> { 156async function bootstrap(config: Config, state: PersistentState): Promise<string> {
157 await fs.mkdir(config.globalStoragePath, { recursive: true }); 157 await fs.mkdir(config.globalStoragePath, { recursive: true });
158 158
159 if (config.package.releaseTag != NIGHTLY_TAG) {
160 await state.removeReleaseId();
161 }
159 await bootstrapExtension(config, state); 162 await bootstrapExtension(config, state);
160 const path = await bootstrapServer(config, state); 163 const path = await bootstrapServer(config, state);
161
162 return path; 164 return path;
163} 165}
164 166