google / google/closure-compiler
Exclude pattern causes error if directory doesn't exist
Open
help wanted
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
``` bash
java -jar compiler.jar '!bar/**.js'
```
fails with `ERROR - read error.` (regardless of what other patterns are there) if the `bar` directory does not exist.
If the directory does not exist, it should ignore it.
(This should also be the behavior of include patterns, IMO.)
Contributor guide
Assessment
This issue has not been assessed yet.