diff --git a/ApiDoctor.Console/Program.cs b/ApiDoctor.Console/Program.cs index f1b74905..35be4533 100644 --- a/ApiDoctor.Console/Program.cs +++ b/ApiDoctor.Console/Program.cs @@ -3051,7 +3051,7 @@ private static string GetPermissionsMarkdownTableForHttpRequestBlock(Permissions var requestPermissions = generator.GenerateTable(); newPermissionFileContents ??= requestPermissions; - if (newPermissionFileContents != requestPermissions) + if (!newPermissionFileContents.Equals(requestPermissions, StringComparison.OrdinalIgnoreCase)) { FancyConsole.WriteLine(ConsoleColor.Yellow, $"Encountered request URL(s) for permissions table ({permissionsTablePosition}) in {docFileName} with a different set of permissions"); }