Skip to content

Commit

Permalink
style: Shorten line
Browse files Browse the repository at this point in the history
  • Loading branch information
Crown0815 committed Dec 17, 2023
1 parent b347d50 commit b89d599
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ConventionalChangelog/Conventional/MessageParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ private CommitMessage Read(TextReader lines)
: ("", "");
}
#elif NET7_0_OR_GREATER
private (string, string) HeaderFrom(string? header) => header?.Split(_configured.Separator) is [var first, var second]
? (first,second.Trim())
: ("", "");
private (string, string) HeaderFrom(string? header) =>
header?.Split(_configured.Separator) is [var first, var second]
? (first,second.Trim())
: ("", "");
#endif

private (string, IReadOnlyCollection<Footer>) BodyFrom(TextReader reader)
Expand Down

0 comments on commit b89d599

Please sign in to comment.