Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8a91de0

Browse files
author
Jasmine
committed
Send back result in OpenLink
1 parent b816d1f commit 8a91de0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GitHub.VisualStudio/Menus/OpenLink.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public async void Activate([AllowNull]object data = null)
3636

3737
public bool CanShow()
3838
{
39-
return IsGitHubRepo().Wait(250);
39+
Task<bool> githubRepoCheckTask = IsGitHubRepo();
40+
githubRepoCheckTask.Wait(250);
41+
return githubRepoCheckTask.Result;
4042
}
4143
}
4244
}

0 commit comments

Comments
 (0)