@ -26,7 +26,7 @@ let defaultCheckers = {
function reachedRoot(candidatePath) {
/* Returns true if we hit the root of the filesystem; like / or C:\ */
return /^(?:\/|a-z:\\)$/i.test(candidatePath);
return /^(?:\/|[a-z]:\\)$/i.test(candidatePath);
}
module.exports = function(options) {