diff --git a/tools/code/publisher/Git.cs b/tools/code/publisher/Git.cs index fe9b6fe..1dc5e44 100644 --- a/tools/code/publisher/Git.cs +++ b/tools/code/publisher/Git.cs @@ -59,7 +59,7 @@ internal static class Git private static ImmutableDictionary> ParseDiffTreeOutput(string output, DirectoryInfo baseDirectory) { - return output.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries) + return output.Split("\n", StringSplitOptions.RemoveEmptyEntries) .Choose(line => { var commitStatus = TryGetCommitStatusFromOutputLine(line);