Skip to content

Commit d0298fd

Browse files
committed
Make boolean readonly
1 parent 4deacb0 commit d0298fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace Microsoft.PowerShell.EditorServices.Commands
3838
public sealed class StartEditorServicesCommand : PSCmdlet
3939
{
4040
// TODO: Remove this when we drop support for PS6.
41-
private static bool s_isWindows =
41+
private readonly static bool s_isWindows =
4242
#if CoreCLR
4343
RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
4444
#else

0 commit comments

Comments
 (0)