We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df57cb6 commit 1cdfd75Copy full SHA for 1cdfd75
src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs
@@ -1125,8 +1125,8 @@ protected async Task HandleCommentHelpRequest(
1125
helpLocation));
1126
1127
var help = analysisResults?.FirstOrDefault()?.Correction?.Edits[0].Text;
1128
- result.Content = help != null
1129
- ? (lines ?? ScriptFile.GetLines(funcText)).ToArray()
+ result.Content = help != null
+ ? (lines ?? ScriptFile.GetLines(help)).ToArray()
1130
: null;
1131
1132
if (helpLocation != null &&
0 commit comments