Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.2.0 #23

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Next Next commit
[Update] Put Stream end event's bug
1. Update package.json
2. Fixed `end` event has been fired on `bucket.createPutStream`

Signed-off-by: iwillwen <[email protected]>
iwillwen committed May 17, 2014
commit d95c744b338deae2fbe0527fca15bdb1f1850e6c
1 change: 0 additions & 1 deletion lib/bucket.js
Original file line number Diff line number Diff line change
@@ -138,7 +138,6 @@ Bucket.prototype.createPutStream = function(key, options) {
return stream.emit('error', err);
}

stream.emit('end', result);
stream.emit('complete', result);
});

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/iwillwen/nodejs-sdk"
"url": "https://www.npmjs.org/package/node-qiniu"
},
"keywords": [
"cloud",
@@ -33,7 +33,7 @@
"author": "iwillwen",
"license": "MIT",
"bugs": {
"url": "https://github.com/iwillwen/nodejs-sdk/issues"
"url": "https://www.npmjs.org/package/node-qiniu/issues"
},
"dependencies": {
"underscore": "~1.5.1",