Skip to content

Commit eb679ae

Browse files
authored
Update Platform.cs
1 parent 3de0993 commit eb679ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Core/Platform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static OperatingSystemType OperatingSystem
2323
return OperatingSystemType.Windows;
2424
}
2525

26-
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
26+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.FreeBSD))
2727
{
2828
return OperatingSystemType.Unix;
2929
}

0 commit comments

Comments
 (0)