From b4d6203b3800327673a784bc41faaf8af6a0f0c9 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 8 Dec 2014 21:12:12 +0100 Subject: [PATCH] path: path.normalize no longer lower-cases drive letters Fixes an omission in e24fa83. --- lib/path.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/path.js b/lib/path.js index 61f35b39273..c7a5f037176 100644 --- a/lib/path.js +++ b/lib/path.js @@ -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;