From c888543be24d36800ac7865e406fe345cb4893f2 Mon Sep 17 00:00:00 2001 From: Nilansh Bansal Date: Mon, 5 Aug 2024 14:46:03 +0530 Subject: [PATCH] fix: ignored target directory for spotless JSON formatting (#35407) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This PR ignores the JSON files present in the `target` directory as it stores the temporary files that are generated during the build. Fixes #35408 ## Automation /ok-to-test tags="@tag.Sanity" ### :mag: Cypress test results > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: > Commit: 405ab049b5079bfb0f82ec51805bc298f5df7b21 > Workflow: `PR Automation test suite` > Tags: `@tag.Sanity` > Spec: `` >
Mon, 05 Aug 2024 09:09:08 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **New Features** - Introduced enhanced control over JSON file processing by excluding JSON files located in the target directory from the build process. --- app/server/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/server/pom.xml b/app/server/pom.xml index 63c1b964a0..740405c8aa 100644 --- a/app/server/pom.xml +++ b/app/server/pom.xml @@ -159,6 +159,9 @@ + + **/target/**/*.json + **/*.json