From 7f9327a4c4245ef7271635043d02d59f74a8f718 Mon Sep 17 00:00:00 2001 From: Manfred Brands Date: Mon, 30 Dec 2024 20:20:03 +0800 Subject: [PATCH] CallerArgumentExpressionAttribute.cs is an exempt file for header-check Why are these specified twice? --- build.cake | 2 +- cake/header-check.cake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.cake b/build.cake index 60f716bfd..a0176c7ce 100644 --- a/build.cake +++ b/build.cake @@ -12,7 +12,7 @@ BuildSettings.Initialize( githubRepository: "nunit-console", solutionFile: "NUnitConsole.sln", buildWithMSBuild: true, - exemptFiles: new[] { "Options.cs", "ProcessUtils.cs", "ProcessUtilsTests.cs" }); + exemptFiles: new[] { "Options.cs", "ProcessUtils.cs", "ProcessUtilsTests.cs", "CallerArgumentExpressionAttribute.cs" }); ////////////////////////////////////////////////////////////////////// // INDIVIDUAL PACKAGE DEFINITIONS diff --git a/cake/header-check.cake b/cake/header-check.cake index c4f385131..58c34348d 100644 --- a/cake/header-check.cake +++ b/cake/header-check.cake @@ -7,7 +7,8 @@ static readonly int CD_LENGTH = Environment.CurrentDirectory.Length + 1; static readonly string[] EXEMPT_FILES = new [] { "Options.cs", "ProcessUtils.cs", - "ProcessUtilsTests.cs" + "ProcessUtilsTests.cs", + "CallerArgumentExpressionAttribute.cs", }; // Standard Header. Change this for each project as needed.