google/closure-compiler

Exclude pattern causes error if directory doesn't exist

Open

#608 geöffnet am 5. Sept. 2014

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.197 Forks)batch import
help wanted

Repository-Metriken

Stars
 (7.176 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 4h) (1 gemergte PR in 30 T)

Beschreibung

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