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.
1 parent 348b1e5 commit 8d64bfaCopy full SHA for 8d64bfa
src/GitVersionCore/Helpers/JsonSerializer.cs
@@ -28,6 +28,6 @@ public static string Serialize(object obj)
28
return builder.ToString();
29
}
30
31
- private static bool NotAPaddedNumber(string value) => value == "0" || !value.StartsWith("0");
+ private static bool NotAPaddedNumber(string value) => value != null && (value == "0" || !value.StartsWith("0"));
32
33
0 commit comments