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

fix(win32): make VOLUME regex case-independent #57

Merged
merged 2 commits into from
Sep 27, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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