Skip to content

Commit

Permalink
Merge pull request #74740 from dotnet/merges/release/dev17.11-to-rele…
Browse files Browse the repository at this point in the history
…ase/dev17.12

Merge release/dev17.11 to release/dev17.12
  • Loading branch information
dotnet-bot authored Aug 22, 2024
2 parents cf82d39 + ad34c50 commit 028e1e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task<bool> IsCopilotOptionEnabledAsync(string optionName)
var settingManager = await _settingsManagerTask.ConfigureAwait(false);
// The bool setting is persisted as 0=None, 1=True, 2=False, so it needs to be retrieved as an int.
return settingManager.TryGetValue($"{CopilotOptionNamePrefix}.{optionName}", out int isEnabled) == GetValueResult.Success
&& isEnabled == 1;
&& isEnabled != 2;
}

public Task<bool> IsCodeAnalysisOptionEnabledAsync()
Expand Down

0 comments on commit 028e1e8

Please sign in to comment.