chiffchaff-pipe
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -42,4 +42,5 @@ 'use strict'; | ||
return new _bluebird2['default'](function (resolve, reject) { | ||
_this._destination.once('finish', resolve).once('error', reject); | ||
_this._source.pipe(_this._destination).once('error', reject); | ||
_this._source.once('error', reject); | ||
_this._destination.once('error', reject); | ||
_this._source.pipe(_this._destination).once('finish', resolve).once('error', reject); | ||
}).cancellable()['catch'](_bluebird2['default'].CancellationError, function (err) { | ||
@@ -46,0 +47,0 @@ _this._source.unpipe(_this._destination); |
{ | ||
"name": "chiffchaff-pipe", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Stream piping for chiffchaff.", | ||
@@ -52,4 +52,5 @@ "keywords": [ | ||
"scripts": { | ||
"clean": "gulp clean", | ||
"build": "gulp build", | ||
"prepublish": "npm run build", | ||
"prepublish": "npm run clean && npm run build", | ||
"test": "gulp test" | ||
@@ -56,0 +57,0 @@ }, |
5040
44