google/closure-compiler

Exclude pattern causes error if directory doesn't exist

Open

#608 opened on Sep 5, 2014

 (0 comments) (0 reactions) (0 assignees)Java (1,197 forks)batch import
help wanted

Repository metrics

Stars
 (7,176 stars)
PR merge metrics
 (PR metrics pending)

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