Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit a68c4f5

Browse files
committed
Fix a small bug in the filtering
1 parent c3026e8 commit a68c4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.CodeFormatting/FormattingEngineImplementation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private Task<SyntaxNode> GetSyntaxRootAndFilter(Document document, CancellationT
145145
{
146146
if (!ShouldBeProcessed(document))
147147
{
148-
return null;
148+
return Task.FromResult<SyntaxNode>(null);
149149
}
150150

151151
return document.GetSyntaxRootAsync(cancellationToken);

0 commit comments

Comments
 (0)