Skip to content

Commit 6dd4786

Browse files
committed
Fix newlines
1 parent 970e749 commit 6dd4786

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Mvc/PagesPropertyInjectionPass.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ static string nullableEnable(bool nullableEnabled, string code)
6565
}
6666

6767
return $"""
68-
#nullable restore
69-
{code}!;
70-
#nullable disable
68+
#nullable restore\r\n{code}!;\r\n#nullable disable
7169
""";
7270
}
7371
}

0 commit comments

Comments
 (0)