mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove nightly release id from local storage for stable extensions
This commit is contained in:
parent
b8635a8e60
commit
be3e997ddf
2 changed files with 6 additions and 1 deletions
|
@ -156,9 +156,11 @@ export async function deactivate() {
|
|||
async function bootstrap(config: Config, state: PersistentState): Promise<string> {
|
||||
await fs.mkdir(config.globalStoragePath, { recursive: true });
|
||||
|
||||
if (config.package.releaseTag != NIGHTLY_TAG) {
|
||||
await state.removeReleaseId();
|
||||
}
|
||||
await bootstrapExtension(config, state);
|
||||
const path = await bootstrapServer(config, state);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue