cross_platform_csproj 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cross_platform_csproj.rb +1 -1
- metadata +1 -1
@@ -98,7 +98,7 @@ class CrossPlatformCSProj
|
|
98
98
|
def self.getRelativePath(path, pathRelative)
|
99
99
|
pathRelative = pathRelative.gsub('/', '\\')
|
100
100
|
path = path.gsub('/', '\\')
|
101
|
-
path = path.gsub
|
101
|
+
path = path.gsub(/^#{pathRelative}/, "")
|
102
102
|
|
103
103
|
if (path.length > 0 and path.start_with?('\\'))
|
104
104
|
return path[1..path.length - 1]
|