From d731d8d1f160864a44ea4d8a54fb33f428c8222b Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Fri, 29 Dec 2023 15:29:54 -0500 Subject: [PATCH] refactor: Avoid harcoding the new line --- src/Models/ModelTag.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/ModelTag.cs b/src/Models/ModelTag.cs index 77995ba..8eb7204 100644 --- a/src/Models/ModelTag.cs +++ b/src/Models/ModelTag.cs @@ -31,5 +31,5 @@ public void Deconstruct(out string name, out string sqlStatement) /// /// A string that represents the current object of type . public override string ToString() - => $"-- name: {Name}\n{SqlStatement}\n"; + => $"-- name: {Name}{Environment.NewLine}{SqlStatement}{Environment.NewLine}"; }