From a2fd2b8bd8370057c55bbb0a05b8109db41d9ced Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 24 Oct 2016 12:54:20 +0300 Subject: [PATCH] chore(reset) operation: rm unused: wasError --- lib/server/rest.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/server/rest.js b/lib/server/rest.js index 9b9aa4c0..adcc666b 100644 --- a/lib/server/rest.js +++ b/lib/server/rest.js @@ -262,7 +262,7 @@ } function operation(op, from, to, names, fn) { - var packer, wasError; + var packer; if (!fn) { fn = names; @@ -274,7 +274,6 @@ packer = jaguar[op](from, to, names); packer.on('error', function(error) { - wasError = true; fn(error); });