Capitalize drive letter on Windows when standardizing paths

This commit is contained in:
Joshua Granick
2015-04-20 15:58:57 -07:00
parent eb2b293a28
commit 3245938a96

View File

@@ -724,6 +724,12 @@ class PathHelper {
}
if (PlatformHelper.hostPlatform == Platform.WINDOWS && path.charAt (1) == ":") {
path = path.charAt (0).toUpperCase () + ":" + path.substr (2);
}
return path;
}