Skip to content

Commit 7e434a8

Browse files
committed
Rename option to EnableLegacyCodeLens
1 parent 3a8a53d commit 7e434a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PowerShellEditorServices/Services/CodeLens/PesterCodeLensProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public CodeLens[] ProvideCodeLenses(ScriptFile scriptFile)
106106
continue;
107107
}
108108

109-
if (!_configurationService.CurrentSettings.Pester.Pester5CodeLens
109+
if (!_configurationService.CurrentSettings.Pester.EnableLegacyCodeLens
110110
&& pesterSymbol.Command != PesterCommandType.Describe)
111111
{
112112
continue;

src/PowerShellEditorServices/Services/Workspace/LanguageServerSettings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -368,13 +368,13 @@ public PesterSettings()
368368

369369
public PesterSettings(PesterSettings settings)
370370
{
371-
Pester5CodeLens = settings.Pester5CodeLens;
371+
EnableLegacyCodeLens = settings.EnableLegacyCodeLens;
372372
}
373373

374374
/// <summary>
375375
/// Whether integration features specific to Pester v5 are enabled
376376
/// </summary>
377-
public bool Pester5CodeLens { get; set; }
377+
public bool EnableLegacyCodeLens { get; set; }
378378
}
379379

380380
/// <summary>

0 commit comments

Comments
 (0)