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

Commit 5d65c0a

Browse files
Simplify logic expression
1 parent 24b63c1 commit 5d65c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.VisualStudio/Services/UsageTracker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ async Task<UsageModel> GetCurrentReport(UsageData data)
140140

141141
if (connectionManager.Connections.Any(x => x.HostAddress.IsGitHubDotCom()))
142142
{
143-
current.IsGitHubUser |= true;
143+
current.IsGitHubUser = true;
144144
}
145145

146146
if (connectionManager.Connections.Any(x => !x.HostAddress.IsGitHubDotCom()))
147147
{
148-
current.IsEnterpriseUser |= true;
148+
current.IsEnterpriseUser = true;
149149
}
150150

151151
return current;

0 commit comments

Comments
 (0)