-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Open
Labels
pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.
Description
Version
22.11.0
Platform
Linux pc 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
require('path').win32.isAbsolute('\\foo') === true
How often does it reproduce? Is there a required condition?
Yes. No.
What is the expected behavior? Why is that the expected behavior?
Here's a behavior of cd
on Windows
:
C:\Users\user> cd \Windows
C:\Windows>
\Windows
is relative to drive name.
Expected output for isAbsolute()
is false.
What do you see instead?
isAbsolute()
is true.
Additional information
No response
Metadata
Metadata
Assignees
Labels
pathIssues and PRs related to the path subsystem.Issues and PRs related to the path subsystem.