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 channel is undefined bug #42

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Fix channel is undefined bug #42

merged 2 commits into from
Jul 21, 2023

Conversation

JordanMartinez
Copy link
Contributor

@JordanMartinez JordanMartinez commented Jul 21, 2023

Description of the change

Fixes this issue:

file:///.../output/Node.Process/foreign.js:7
export const channelRefImpl = process.channel.ref ? () => process.channel.ref() : null;
                                              ^

TypeError: Cannot read properties of undefined (reading 'ref')

Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@JordanMartinez JordanMartinez merged commit d640163 into master Jul 21, 2023
1 check passed
@JordanMartinez JordanMartinez deleted the fix-channel-ref branch July 21, 2023 18:42
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.

1 participant