Skip to content

Commit

Permalink
storage: Avoid extra newline at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyll committed Jul 29, 2014
1 parent 58d06e7 commit 82544bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/storage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Bucket.prototype.writeStream = function(name, stream, metadata, callback) {
oldEndFn = remoteStream.end;
remoteStream.end = function(data, encoding, callback) {
data = data || '';
data += '\n\n--' + boundary + '--\n';
data += '\n--' + boundary + '--\n';
remoteStream.write(data, encoding, callback);
oldEndFn.apply(this);
};
Expand Down

0 comments on commit 82544bb

Please sign in to comment.