We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When we create a base url here:
web-worker/node.js
Line 75 in 4a46d3a
It will be ignored later here, if the given url contains drive letter ( like "c:/foo/bar") :
Lines 100 to 102 in 4a46d3a
And fileURLToPath will throw an error ( "URL not a file scheme" ) as the drive letter is set as protocol and file scheme of baseUrl is ignored.
I think we are safe when we do it like this:
const urlObject = new URL.URL(url, baseUrl); mod = urlObject.pathName;
Not sure if this is bypassing the reason why fileUrlToPath is used at all. But did work for me on Windows and macOS.
The text was updated successfully, but these errors were encountered:
I've developed a fix for this and aim to have a PR up soon.
Sorry, something went wrong.
No branches or pull requests
When we create a base url here:
web-worker/node.js
Line 75 in 4a46d3a
It will be ignored later here, if the given url contains drive letter ( like "c:/foo/bar") :
web-worker/node.js
Lines 100 to 102 in 4a46d3a
And fileURLToPath will throw an error ( "URL not a file scheme" ) as the drive letter is set as protocol and file scheme of baseUrl is ignored.
I think we are safe when we do it like this:
Not sure if this is bypassing the reason why fileUrlToPath is used at all.
But did work for me on Windows and macOS.
The text was updated successfully, but these errors were encountered: