Skip to content

Commit

Permalink
Merge pull request #395 from ahmedbham/ahmedbham/issue-333-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waelkdouh authored Oct 5, 2023
2 parents b2e4a57 + b08cf31 commit 1eae66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/code/publisher/Git.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static async ValueTask<string> GetDiffTreeOutput(CommitId commitId, Dire

private static ImmutableDictionary<CommitStatus, ImmutableList<FileInfo>> ParseDiffTreeOutput(string output, DirectoryInfo baseDirectory)
{
return output.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries)
return output.Split("\n", StringSplitOptions.RemoveEmptyEntries)
.Choose<string, (CommitStatus Status, FileInfo File)>(line =>
{
var commitStatus = TryGetCommitStatusFromOutputLine(line);
Expand Down

0 comments on commit 1eae66f

Please sign in to comment.