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
Here opts is assumed to be an object, but in one of our code paths it was a string like utf-8: https://github.com/second-state/wasmedge-quickjs/blob/main/modules/internal/fs/stream.js#L202
opts
utf-8
I've added this code to fix it temporarily: opts = typeof opts !== 'object' ? {} : opts;
opts = typeof opts !== 'object' ? {} : opts;
The text was updated successfully, but these errors were encountered:
I'm not very familiar with JavaScript, so if there are bugs like this in JavaScript, feel free to submit a pull request to help us optimize it.
Sorry, something went wrong.
No branches or pull requests
Here
opts
is assumed to be an object, but in one of our code paths it was a string likeutf-8
: https://github.com/second-state/wasmedge-quickjs/blob/main/modules/internal/fs/stream.js#L202I've added this code to fix it temporarily:
opts = typeof opts !== 'object' ? {} : opts;
The text was updated successfully, but these errors were encountered: