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

Commit 584ebc5

Browse files
committed
Only auto-load InlineReviewsPackage when in context of Git repo
1 parent cfe23e1 commit 584ebc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.InlineReviews/InlineReviewsPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace GitHub.InlineReviews
1616
// Initialize menus on Main thread.
1717
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = false)]
1818
[Guid(Guids.InlineReviewsPackageId)]
19-
[ProvideAutoLoad(UIContextGuids80.SolutionExists)]
19+
[ProvideAutoLoad(Guids.UIContext_Git)]
2020
[ProvideMenuResource("Menus.ctmenu", 1)]
2121
[ProvideToolWindow(typeof(PullRequestCommentsPane), DocumentLikeTool = true)]
2222
public class InlineReviewsPackage : AsyncPackage

0 commit comments

Comments
 (0)