From 82544bbe0dd0fd684807b9f497a47399d51c83b7 Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Mon, 28 Jul 2014 17:05:34 -0700 Subject: [PATCH] storage: Avoid extra newline at the end. --- lib/storage/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/index.js b/lib/storage/index.js index d175548c201..33b30a5ee54 100644 --- a/lib/storage/index.js +++ b/lib/storage/index.js @@ -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); };