Skip to content

Commit 0f6a4bc

Browse files
committed
Add warning note about glob
1 parent 8938687 commit 0f6a4bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ const options = {
246246
};
247247
```
248248

249+
Please note that there is an [open issue with Glob](https://github.com/isaacs/node-glob/issues/309) that causes ignored patterns to be ignored when using a `./` prefix in your files glob. To work around this, simply remove the prefix, e.g. use `**/*` instead of `./**/*`.
250+
249251
### Allow empty/invalid paths
250252
If set to true, empty or invalid paths will fail silently and no error will be thrown. For asynchronous replacement only. Defaults to `false`.
251253

0 commit comments

Comments
 (0)