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

Commit 755bf35

Browse files
author
Jasmine
committed
change the tasks to vars
1 parent 06acfca commit 755bf35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GitHub.VisualStudio/Menus/CopyLink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public async void Activate([AllowNull]object data = null)
4747

4848
public bool CanShow()
4949
{
50-
Task<bool> githubRepoCheckTask = IsGitHubRepo();
50+
var githubRepoCheckTask = IsGitHubRepo();
5151
return githubRepoCheckTask.Wait(250) ? githubRepoCheckTask.Result : false;
5252
}
5353

src/GitHub.VisualStudio/Menus/OpenLink.cs

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

3737
public bool CanShow()
3838
{
39-
Task<bool> githubRepoCheckTask = IsGitHubRepo();
39+
var githubRepoCheckTask = IsGitHubRepo();
4040
return githubRepoCheckTask.Wait(250) ? githubRepoCheckTask.Result : false;
4141
}
4242
}

0 commit comments

Comments
 (0)