Skip to content

Commit 60c4434

Browse files
authored
Fix Copilot hover warning in the ExtensionHost logging. (#13316)
1 parent 1813c82 commit 60c4434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/Providers/CopilotHoverProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class CopilotHoverProvider implements vscode.HoverProvider {
4646
}
4747
}
4848

49-
if (settings.copilotHover === "default") {
49+
if (new CppSettings().copilotHover === "default") {
5050
// Check flight to make sure the feature is enabled.
5151
if (!await telemetry.isFlightEnabled("CppCopilotHover")) {
5252
return undefined;

0 commit comments

Comments
 (0)