Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit f850f1c

Browse files
MarekLacoAXAlukastaegert
authored andcommitted
fix(win32): make VOLUME regex case-independent (#57)
because drive letters are lower case (tested on Win10)
1 parent 6a21305 commit f850f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path, { posix } from 'path';
44

55
import slash from 'slash';
66

7-
const VOLUME = /^([A-Z]:)/;
7+
const VOLUME = /^([A-Z]:)/i;
88
const IS_WINDOWS = platform() === 'win32';
99

1010
// Helper functions

0 commit comments

Comments
 (0)