gobblejs / gobble

The last build tool you'll ever need
333 stars 20 forks source link

File transformer nodes sometimes erroneously report successful completion #42

Closed Rich-Harris closed 9 years ago

Rich-Harris commented 9 years ago

Leaving some breadcrumbs for myself:

This is related to #41 (or more specifically the fix thereof) - if a file transformation is aborted, this callback is called with no argument, which looks like success when it's actually a failure. As a result, the ready promise fulfils, and any downstream nodes start their transformations with an incomplete inputdir.