Skip to content

Commit 4a3af4b

Browse files
Update src/PowerShellEditorServices/Utility/Utils.cs
Co-Authored-By: rjmholt <[email protected]>
1 parent 3909afb commit 4a3af4b

File tree

1 file changed

+1
-1
lines changed
  • src/PowerShellEditorServices/Utility

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Utility/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ internal static class Utils
1515
/// <summary>
1616
/// True if we are running on .NET Core, false otherwise.
1717
/// </summary>
18-
public static bool IsNetCore { get; } = RuntimeInformation.FrameworkDescription.StartsWith(".NET Core");
18+
public static bool IsNetCore { get; } = RuntimeInformation.FrameworkDescription.StartsWith(".NET Core", StringComparison.Ordinal);
1919
}
2020
}

0 commit comments

Comments
 (0)