We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OperatingSystem
1 parent 52fe07a commit da3671eCopy full SHA for da3671e
src/GitVersion.Core/Helpers/FileSystemHelper.cs
@@ -1,5 +1,4 @@
1
using System.IO.Abstractions;
2
-using System.Runtime.InteropServices;
3
4
namespace GitVersion.Helpers;
5
@@ -67,7 +66,7 @@ internal static class Path
67
66
public static char DirectorySeparatorChar => fileSystem.Path.DirectorySeparatorChar;
68
69
private static readonly StringComparison OsDependentComparison =
70
- RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
+ OperatingSystem.IsLinux()
71
? StringComparison.Ordinal
72
: StringComparison.OrdinalIgnoreCase;
73
0 commit comments