Skip to content

Commit

Permalink
Fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwengier committed Mar 9, 2022
1 parent 044d993 commit f3dde0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.

using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.AspNetCore.Razor.Language;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ internal static (Queue<DocumentSnapshot>, Queue<TextDocumentIdentifier>) CreateD
foreach (var (text, isRazor) in textArray.Zip(isRazorArray, (t, r) => (t, r)))
{
var file = isRazor ? RazorFile : CSHtmlFile;
var document = CreateCodeDocument(text, file, tagHelpers);
var document = CreateCodeDocument(text!, file, tagHelpers);

var projectSnapshot = new Mock<ProjectSnapshot>(MockBehavior.Strict);
projectSnapshot
Expand Down

0 comments on commit f3dde0c

Please sign in to comment.