Commit bb8750c
fix: match hidden directories for path exclusions (#87)
* fix: 🐛 Match hidden directories for path exclusions
Globstars don't match paths with hidden directories by default:
isaacs/minimatch#51
This means the default `exclude` option of `**/node_modules/**` will
fail for projects anchored at a path like /foo/.bar/. E.g. it is fairly
common for developers to mimic FHS directory structures in their home
directory using `.local`, meaning repositories are cloned within
`~/.local/src/`, which would not be matched by the default globstar. In
all likelihood most users would expect matching hidden directories to be
the default behaviour.
* fix: match hidden directories and files for path
Co-authored-by: Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br>1 parent 0b83cc5 commit bb8750c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments