From 9134ad4cbe275b8be4c2e9953fb09866a558d9b0 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 13 Dec 2014 01:23:06 -0800 Subject: [PATCH] fix typo --- server/relayserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/relayserver.js b/server/relayserver.js index 1fd33e1a..1ca9550f 100644 --- a/server/relayserver.js +++ b/server/relayserver.js @@ -257,7 +257,7 @@ var RelayServer = function(servers, options) { ]; cwd = cwd.replace(/\\/g, "/"); for (var xx = 0; xx < suffixes.length; ++xx) { - var suffix = suffixes[ii]; + var suffix = suffixes[xx]; if (strings.endsWith(cwd, suffix)) { cwd = cwd.substring(0, cwd.length - suffix.length - 1); break;