google / google/closure-compiler

Exclude pattern causes error if directory doesn't exist

Open
#608 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.