Pass error

This commit is contained in:
Victor Bjelkholm 2017-01-19 15:17:53 +01:00
parent 37e549e3f9
commit 466c161cd4

View File

@ -18,7 +18,7 @@ function closeAndWait (stream, callback) {
pull(
pull.empty(),
stream,
pull.onEnd(() => callback())
pull.onEnd(callback)
)
}