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

Commit

Permalink
fix(win32): make VOLUME regex case-independent (#57)
Browse files Browse the repository at this point in the history
because drive letters are lower case (tested on Win10)
  • Loading branch information
MarekLacoAXA authored and lukastaegert committed Sep 27, 2019
1 parent 6a21305 commit f850f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path, { posix } from 'path';

import slash from 'slash';

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

// Helper functions
Expand Down

0 comments on commit f850f1c

Please sign in to comment.