Skip to content

Commit

Permalink
Fix logic for AreAPICodeFilesTheSame (#8652)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored Jul 17, 2024
1 parent ed472c7 commit 61a7aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnet/APIView/APIViewWeb/Managers/CodeFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public async Task<bool> AreAPICodeFilesTheSame(RenderedCodeFile codeFileA, Rende
Language = codeFileA.CodeFile.Language
};
var result = await CodeFileHelpers.GenerateCodePanelDataAsync(codePanelRawData);
return result.HasDiff;
return !result.HasDiff;
}
else
{
Expand Down

0 comments on commit 61a7aa1

Please sign in to comment.