Skip to content

Commit

Permalink
Fixes whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Herrmel committed Jan 27, 2025
1 parent 728a0d9 commit 2ca5913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Docfx.Dotnet/CompilationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void GetReferenceAssembliesCore(PEFile assembly)
var file = assemblyResolver.FindAssemblyFile(reference);
if (file is null)
{
if(referenceFiles == null)
if (referenceFiles == null)
{
referenceFiles = new();
foreach (var referenceFile in references.OfType<PortableExecutableReference>())
Expand All @@ -193,7 +193,7 @@ void GetReferenceAssembliesCore(PEFile assembly)
}
}
}
if(!referenceFiles.TryGetValue(reference.Name, out file))
if (!referenceFiles.TryGetValue(reference.Name, out file))
{
// Skip warning for some weired assembly references: https://github.com/dotnet/docfx/issues/9459
if (reference.Version?.ToString() != "0.0.0.0")
Expand Down

0 comments on commit 2ca5913

Please sign in to comment.