Skip to content

Commit

Permalink
refactor: Avoid harcoding the new line
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Dec 29, 2023
1 parent fbb6780 commit d731d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/ModelTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ public void Deconstruct(out string name, out string sqlStatement)
/// </summary>
/// <returns>A string that represents the current object of type <see cref="ModelTag" />.</returns>
public override string ToString()
=> $"-- name: {Name}\n{SqlStatement}\n";
=> $"-- name: {Name}{Environment.NewLine}{SqlStatement}{Environment.NewLine}";
}

0 comments on commit d731d8d

Please sign in to comment.