diff --git a/src/app/project.coffee b/src/app/project.coffee index fac99ce8d..f1a6f6634 100644 --- a/src/app/project.coffee +++ b/src/app/project.coffee @@ -87,6 +87,7 @@ class Project fs.absolute filePath relativize: (fullPath) -> + return fullPath unless fullPath.lastIndexOf(@getPath()) is 0 fullPath.replace(@getPath(), "").replace(/^\//, '') getSoftTabs: -> @softTabs