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
Stream.finishStreamWithMetadata does not declare the result variable upon first assignment in a strict module
result
Error message:
(node:13440) UnhandledPromiseRejectionWarning: ReferenceError: result is not defined
Minimal code to reproduce:
new Model('path/to/model.pbmm').createStream().finishStreamWithMetadata()
To fix, declare the result object during 1st assignment:
let result = binding.FinishStreamWithMetadata(this._impl, aNumResults);
The text was updated successfully, but these errors were encountered:
41d990e
Merge pull request #2981 from mozilla/pr2980-tests
9a7ec1a
PR #2980 + tests (Fixes #2979)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Stream.finishStreamWithMetadata does not declare the
result
variable upon first assignment in a strict moduleError message:
Minimal code to reproduce:
To fix, declare the
result
object during 1st assignment:The text was updated successfully, but these errors were encountered: