8000 Update RuntimeData.cs · pythonnet/pythonnet@eaca7f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit eaca7f1

Browse files
authored
Update RuntimeData.cs
1 parent 54d089b commit eaca7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/StateSerialization/RuntimeData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class RuntimeData
1818

1919
public readonly static Func<IFormatter> DefaultFormatterFactory = () =>
2020
{
21-
var fw = RuntimeInformation.FrameworkDescription;
21+
var fw = RuntimeInformation.FrameworkDescription ?? "undefined";
2222
if (fw.StartsWith(".NET Framework") || fw.StartsWith("Mono"))
2323
{
2424
try

0 commit comments

Comments
 (0)
0