Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix isAbsolute broken when nodejs on Windows #23365

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

litlighilit
Copy link
Contributor

@litlighilit litlighilit commented Mar 3, 2024

When target is nodejs,
isAbsolute used to only check in the POSIX flavor,

i.e. for js backend on Windows,

isAbsolute(r"C:\Windows") == false

This fixes it.

When target is nodejs, 
`isAbsolute` used to only check in the POSIX flavor,

i.e. broken on Windows.

This fixes it.
@Araq Araq merged commit 6e875cd into nim-lang:devel Mar 4, 2024
19 checks passed
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 6e875cd

Hint: mm: orc; opt: speed; options: -d:release
178208 lines; 7.713s; 768.289MiB peakmem

litlighilit added a commit to litlighilit/Nim that referenced this pull request Mar 8, 2024
Windows `isAbsolute` issue has been resolved by [this PR](nim-lang#23365).

So we can improve the coverage for Windows
Araq pushed a commit that referenced this pull request Mar 9, 2024
…ws. (#23377)

Windows's nodejs `isAbsolute` issue has been resolved by [this
PR](#23365).

So we can improve the coverage for Windows.
heterodoxic pushed a commit to heterodoxic/Nim that referenced this pull request Mar 11, 2024
…ws. (nim-lang#23377)

Windows's nodejs `isAbsolute` issue has been resolved by [this
PR](nim-lang#23365).

So we can improve the coverage for Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants