diff --git a/tools/code/publisher/Git.cs b/tools/code/publisher/Git.cs index fe9b6fea..1dc5e44f 100644 --- a/tools/code/publisher/Git.cs +++ b/tools/code/publisher/Git.cs @@ -59,7 +59,7 @@ private static async ValueTask GetDiffTreeOutput(CommitId commitId, Dire 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);