From 0feb8c7a3c67f96c6515c3d8bf301a6626851958 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 28 Nov 2016 14:45:19 +0200 Subject: [PATCH] chore(rest) var -> multi var --- lib/server/rest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/rest.js b/lib/server/rest.js index e85c9c25..8037c729 100644 --- a/lib/server/rest.js +++ b/lib/server/rest.js @@ -309,9 +309,9 @@ function operation(op, from, to, names, fn) { } function copy(from, to, names, fn) { - var error, - tmpl = '\r copy {{ from }} {{ to }} {{ count }}%', - cp = copymitter(from, to, names); + var error; + var tmpl = '\r copy {{ from }} {{ to }} {{ count }}%'; + var cp = copymitter(from, to, names); cp.on('error', function(e) { error = e;