google/closure-compiler

Exclude pattern causes error if directory doesn't exist

Open

#608 opened on Sep 5, 2014

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (7,176 stars) (1,197 forks)batch import
help wanted

Description

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