Skip to content

Commit 25542be

Browse files
committed
add missing await
1 parent 04be68b commit 25542be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/gitpod/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export async function activate(context: vscode.ExtensionContext) {
8282
}
8383
}));
8484

85-
if (!context.globalState.get(FIRST_INSTALL_KEY, false)) {
86-
context.globalState.update(FIRST_INSTALL_KEY, true);
85+
if (!context.globalState.get<boolean>(FIRST_INSTALL_KEY, false)) {
86+
await context.globalState.update(FIRST_INSTALL_KEY, true);
8787
telemetry.sendTelemetryEvent('gitpod_desktop_installation', { kind: 'install' });
8888
}
8989
}

0 commit comments

Comments
 (0)