From 113a88bdd78d4637dd065eb5e6c0b9f0c71001fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 13:29:17 +0100 Subject: [PATCH] chore(deps): bump PublicApiGenerator from 10.3.0 to 11.0.0 in /src (#260) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Pulman --- src/Directory.build.props | 2 +- src/Punchclock.Tests/API/ApiApprovalTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Directory.build.props b/src/Directory.build.props index 7ea45b6..1e80fb3 100644 --- a/src/Directory.build.props +++ b/src/Directory.build.props @@ -40,7 +40,7 @@ - + all runtime; build; native; contentfiles; analyzers diff --git a/src/Punchclock.Tests/API/ApiApprovalTests.cs b/src/Punchclock.Tests/API/ApiApprovalTests.cs index da4562b..08ceb80 100644 --- a/src/Punchclock.Tests/API/ApiApprovalTests.cs +++ b/src/Punchclock.Tests/API/ApiApprovalTests.cs @@ -59,7 +59,7 @@ private static void CheckApproval(Assembly assembly, [CallerMemberName] string m var approvedPublicApi = File.ReadAllText(approvedFileName); - var generatorOptions = new ApiGeneratorOptions { WhitelistedNamespacePrefixes = new[] { "Akavache" } }; + var generatorOptions = new ApiGeneratorOptions { AllowNamespacePrefixes = new[] { "Akavache" } }; var receivedPublicApi = Filter(assembly.GeneratePublicApi(generatorOptions)); if (!string.Equals(receivedPublicApi, approvedPublicApi, StringComparison.InvariantCulture))