-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.
Description
- Version:
Master version in github - Platform:
Windows - Subsystem:
The code to parse win32 paths, throws away paths that consist of one letter or character (unless its a forward or backward slash). Line 833 in the excerpt below, returns empty strings.
Lines 826 to 833 in d989e20
if (len === 1) { | |
if (isPathSeparator(code)) { | |
// `path` contains just a path separator, exit early to avoid | |
// unnecessary work | |
ret.root = ret.dir = path; | |
return ret; | |
} | |
return ret; |
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.