Skip to content

Commit 1486e3a

Browse files
authored
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/**`.
1 parent 5e0ff12 commit 1486e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/jscpd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"pattern": "packages/**/*.ts",
3-
"ignore": ["**node_modules**", "**dist**", "*/scripts/*"],
3+
"ignore": ["**node_modules**", "**dist**", "**/scripts/**"],
44
"gitignore": true,
55
"threshold": 3.0,
66
"minLines": 3,

0 commit comments

Comments
 (0)