mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Use .then()
for Thenable
This commit is contained in:
parent
56e128a979
commit
a6b0c056de
1 changed files with 1 additions and 3 deletions
|
@ -158,9 +158,7 @@ export async function deactivate() {
|
|||
}
|
||||
|
||||
async function bootstrap(config: Config, state: PersistentState): Promise<string> {
|
||||
try {
|
||||
await vscode.workspace.fs.createDirectory(config.globalStorageUri);
|
||||
} catch {}
|
||||
await vscode.workspace.fs.createDirectory(config.globalStorageUri).then();
|
||||
|
||||
if (!config.currentExtensionIsNightly) {
|
||||
await state.updateNightlyReleaseId(undefined);
|
||||
|
|
Loading…
Reference in a new issue