We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3808f11 commit bba3db2Copy full SHA for bba3db2
src/PowerShellEditorServices.Host/CodeLens/PesterCodeLensProvider.cs
@@ -58,7 +58,7 @@ private CodeLens[] GetPesterLens(
58
scriptFile.ClientFilePath,
59
false /* No debug */,
60
pesterSymbol.TestName,
61
- pesterSymbol.ScriptRegion.StartLineNumber })),
+ pesterSymbol.ScriptRegion?.StartLineNumber })),
62
63
new CodeLens(
64
this,
@@ -71,7 +71,7 @@ private CodeLens[] GetPesterLens(
71
72
true /* Run in debugger */,
73
74
75
};
76
77
return codeLensResults;
0 commit comments