Skip to content

Commit

Permalink
Merge pull request #15 from gastonrobledo/master
Browse files Browse the repository at this point in the history
propagate error on each helper
  • Loading branch information
gastonrobledo authored Oct 1, 2019
2 parents cefe1bc + 750fde4 commit 67cc719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlebars/helpers/each.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = function(instance) {
})
pump(context, Counter(), transform, (err) => {
if (err) {
reject()
reject(err)
} else {
resolve()
}
Expand Down

0 comments on commit 67cc719

Please sign in to comment.