Skip to content

Commit 544b319

Browse files
committed
Fix duplicated method call copy/paste error.
1 parent 37bb6ef commit 544b319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySqlConnector/Utilities/Utility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public static void GetOSDetails(out string os, out string osDescription, out str
249249
{
250250
os = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? "Windows" :
251251
RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? "Linux" :
252-
RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? "macOS" : null;
252+
RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? "macOS" : null;
253253
osDescription = RuntimeInformation.OSDescription;
254254
architecture = RuntimeInformation.ProcessArchitecture.ToString();
255255
}

0 commit comments

Comments
 (0)