Use .then() for Thenable

This commit is contained in:
wxb1ank 2021-06-15 14:03:34 -04:00
parent 56e128a979
commit a6b0c056de

View file

@ -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);