Commit 3d5499c
Add -maxdepth 1 guard to prevent searching nested directories
The find command now uses -maxdepth 1 to restrict the search to the top-level
directory only, preventing unintended matches in subdirectories like node_modules.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f1572ca commit 3d5499c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments