Skip to content

Commit

Permalink
[xaprepare] Add a missing line to fix for issue 5867 (#5875)
Browse files Browse the repository at this point in the history
Context: #5867
Context: 40fdecb

Assign new array to the old one so that `IndexOutOfRangeException`
isn't thrown later on in the code.
  • Loading branch information
grendello authored Apr 26, 2021
1 parent f909adb commit b0eb1a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void StoreHeader (string line)
}

var newParts = new string[] { parts [0], String.Empty };
parts = newParts;
Log.Instance.Warning ($"Unexpected commit header format (wrong number of fields): {line}");
Log.Instance.Warning ("Using empty string for the header value");
}
Expand Down

0 comments on commit b0eb1a3

Please sign in to comment.