path: path.normalize no longer lower-cases drive letters

Fixes an omission in e24fa83.
pull/116/head
Bert Belder 2014-12-08 21:12:12 +01:00
parent e24fa83e69
commit b4d6203b38
1 changed files with 0 additions and 5 deletions

View File

@ -175,11 +175,6 @@ win32.normalize = function(path) {
tail = result[3],
trailingSlash = /[\\\/]$/.test(tail);
// If device is a drive letter, we'll normalize to lower case.
if (device && device.charAt(1) === ':') {
device = device[0].toLowerCase() + device.substr(1);
}
// Normalize the tail path
tail = normalizeArray(tail.split(/[\\\/]+/).filter(function(p) {
return !!p;