From a168692eeac377bc50013d5ee5793d6a1b232671 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Fri, 8 Nov 2013 09:39:51 -0800 Subject: [PATCH] Don't relativize uris --- src/project.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/project.coffee b/src/project.coffee index 11755a349..e3ca29854 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -165,6 +165,7 @@ class Project # Public: Make the given path relative to the project directory. relativize: (fullPath) -> + return fullPath if fullPath?.match(/[A-Za-z0-9+-.]+:\/\//) # leave path alone if it has a scheme @rootDirectory?.relativize(fullPath) ? fullPath # Public: Returns whether the given path is inside this project.