Skip to content

Commit f6afbc7

Browse files
committed
Serialize as something that can be deserialized
1 parent 758c1f2 commit f6afbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Formatting/RazorFormattingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public async Task<ImmutableArray<TextChange>> GetDocumentFormattingChangesAsync(
9292

9393
var logger = _formattingLoggerFactory.CreateLogger(documentContext.FilePath, range is null ? "Full" : "Range");
9494
logger?.LogObject("Options", options);
95-
logger?.LogObject("HtmlChanges", htmlChanges);
95+
logger?.LogObject("HtmlChanges", htmlChanges.SelectAsArray(e => e.ToRazorTextChange()));
9696
logger?.LogObject("Range", range);
9797
logger?.LogSourceText("InitialDocument", sourceText);
9898

0 commit comments

Comments
 (0)