Fix path normalization

This commit is contained in:
James Allen 2014-06-30 18:37:39 +01:00
parent 11d951f021
commit 96696e745e

View file

@ -89,7 +89,7 @@ define [
rootDocDirname = ide.fileTreeManager.getRootDocDirname() rootDocDirname = ide.fileTreeManager.getRootDocDirname()
if rootDocDirname? if rootDocDirname?
path = path.replace(/^\.\//, rootDocDirname) path = path.replace(/^\.\//, rootDocDirname + "/")
return path return path