mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
path: fix win32 parse regression
This fixes the parse function for single character input that are not a path separator. PR-URL: https://github.com/nodejs/node/pull/26912 Fixes: https://github.com/nodejs/node/issues/26911 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -51,6 +51,7 @@ const winPaths = [
|
||||
];
|
||||
|
||||
const winSpecialCaseParseTests = [
|
||||
['t', { base: 't', name: 't', root: '', dir: '', ext: '' }],
|
||||
['/foo/bar', { root: '/', dir: '/foo', base: 'bar', ext: '', name: 'bar' }],
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user