Skip to content

Commit 8943c25

Browse files
committed
Removes unneeded async
1 parent 34af748 commit 8943c25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vsls/guest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ export class VslsGuestService implements Disposable {
4444
dispose() {}
4545

4646
@log()
47-
private async onAvailabilityChanged(available: boolean) {
47+
private onAvailabilityChanged(available: boolean) {
4848
if (available) {
49-
setCommandContext(CommandContext.Enabled, true);
49+
void setCommandContext(CommandContext.Enabled, true);
5050
return;
5151
}
5252

53-
setCommandContext(CommandContext.Enabled, false);
53+
void setCommandContext(CommandContext.Enabled, false);
5454
void window.showWarningMessage(
5555
`GitLens features will be unavailable. Unable to connect to the host GitLens service. The host may have disabled GitLens guest access or may not have GitLens installed.`
5656
);

0 commit comments

Comments
 (0)