From 1486e3a6c92310a1a964b6fbb942f05517da8bfc Mon Sep 17 00:00:00 2001 From: Hweinstock <42325418+Hweinstock@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:44:24 -0500 Subject: [PATCH] fix(jscpd): exclude nested /scripts/ dir #5930 ## Problem The current pattern will not catch the script files because they are nested beyond one directory deep. ## Solution change it to `**/script/**`. --- .github/workflows/jscpd.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jscpd.json b/.github/workflows/jscpd.json index 5f294209407..e5ca683d1c8 100644 --- a/.github/workflows/jscpd.json +++ b/.github/workflows/jscpd.json @@ -1,6 +1,6 @@ { "pattern": "packages/**/*.ts", - "ignore": ["**node_modules**", "**dist**", "*/scripts/*"], + "ignore": ["**node_modules**", "**dist**", "**/scripts/**"], "gitignore": true, "threshold": 3.0, "minLines": 3,