-
Notifications
You must be signed in to change notification settings - Fork 762
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
[email protected]: absolutifyPointer
returns [ERR_INVALID_URL]: Invalid URL
on Windows
#3149
Comments
Hi @AlvaroRausell, Thanks for reporting, it seems that this is never ending story. I'll try to address this during tomorrow morning. |
Addressed in #3150. Given that SwaggerClient can only process HTTP(S) URLs, we can use static |
Released in https://github.com/swagger-api/swagger-js/releases/tag/v3.22.3. @AlvaroRausell can you please confirm you're fine? THanks! |
Hi @char0n, all fixed now! Thanks for the quick response |
Huh, glad to hear that ;] |
Q&A (please complete the following information)
Describe the bug you're encountering
The PR #3148 introduces a bug on Windows, as the returned value for
cwd
has backslashes and line 82 fails with [ERR_INVALID_URL]: Invalid URL.To reproduce...
Run
absolutifyPointer
on Windows, which any parameters.Expected behavior
It should return the same path it would on UNIX systems, not give a TypeError.
Stack trace
The text was updated successfully, but these errors were encountered: