From 3f19e6e178e168a16beee74186691f3e0e54d517 Mon Sep 17 00:00:00 2001 From: Jarrett Cruger Date: Tue, 11 Nov 2014 11:47:15 -0500 Subject: [PATCH] [minor] this shouldnt be in var block --- lib/http-proxy/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/http-proxy/common.js b/lib/http-proxy/common.js index bc6efd9d4..43919b1b5 100644 --- a/lib/http-proxy/common.js +++ b/lib/http-proxy/common.js @@ -140,8 +140,9 @@ common.urlJoin = function() { lastIndex = args.length - 1, last = args[lastIndex], lastSegs = last.split('?'), - args[lastIndex] = lastSegs[0], retSegs; + + args[lastIndex] = lastSegs[0]; // // Join all strings, but remove empty strings so we don't get extra slashes from