瀏覽代碼

Removes unneeded async

main
Eric Amodio 6 年之前
父節點
當前提交
8943c25807
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/vsls/guest.ts

+ 3
- 3
src/vsls/guest.ts 查看文件

@ -44,13 +44,13 @@ export class VslsGuestService implements Disposable {
dispose() {}
@log()
private async onAvailabilityChanged(available: boolean) {
private onAvailabilityChanged(available: boolean) {
if (available) {
setCommandContext(CommandContext.Enabled, true);
void setCommandContext(CommandContext.Enabled, true);
return;
}
setCommandContext(CommandContext.Enabled, false);
void setCommandContext(CommandContext.Enabled, false);
void window.showWarningMessage(
`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.`
);

Loading…
取消
儲存