Merge branch 'pr-project-filepath-regex'

This commit is contained in:
Paulo Reis 2016-06-29 14:19:37 +01:00
commit 536c1ac65e

View file

@ -237,7 +237,7 @@ define [
return null return null
normalizeFilePath = (path) -> normalizeFilePath = (path) ->
path = path.replace(/^(.*)\/compiles\/[0-9a-f]{24}\/(\.\/)?/, "") path = path.replace(/^(.*)\/compiles\/[0-9a-f]{24}(-[0-9a-f]{24})?\/(\.\/)?/, "")
path = path.replace(/^\/compile\//, "") path = path.replace(/^\/compile\//, "")
rootDocDirname = ide.fileTreeManager.getRootDocDirname() rootDocDirname = ide.fileTreeManager.getRootDocDirname()