From 35d7b88f69167cd9838e7c31da1f62607bc24f61 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 26 Mar 2015 11:47:18 -0700 Subject: [PATCH] Ignore instead --- lime/tools/helpers/PathHelper.hx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lime/tools/helpers/PathHelper.hx b/lime/tools/helpers/PathHelper.hx index 4b4750463..82c1d1146 100644 --- a/lime/tools/helpers/PathHelper.hx +++ b/lime/tools/helpers/PathHelper.hx @@ -525,12 +525,6 @@ class PathHelper { targetDirectory = StringTools.replace (targetDirectory, "\\", "/"); - while (targetDirectory.indexOf ("//") > -1) { - - targetDirectory = StringTools.replace ("//", "/"); - - } - var splitTarget = targetDirectory.split ("/"); var directories = 0; @@ -538,7 +532,7 @@ class PathHelper { switch (splitTarget.shift ()) { - case ".": + case ".", "": // ignore