Permalink
Browse files

Fixes problem where errors didn't bubble up

  • Loading branch information...
1 parent 3cd3eed commit 9f191133092fd3fb6e2695dc8a3eec54eb8239d2 Ryan J Daw committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/build.coffee
View
@@ -396,7 +396,7 @@ class Builder extends Events.EventEmitter
walk_cb = (err, paths) =>
if err?
- @emit err
+ @emit "error", err
return
Async.forEach paths, build_path, () =>
@emit "end"

0 comments on commit 9f19113

Please sign in to comment.