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

Check for Deno before checking for Node.js #5407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infi
Copy link

@infi infi commented Feb 22, 2025

As Deno emulates Node.js to the point that Deno programs always run the Node.js code due to passing the checks for Node.js, checking for Deno first causes the correct code to run on each JS runtime.

As Deno emulates Node.js to the point that Deno programs always run the Node.js code due to passing the checks for Node.js, checking for Deno first causes the correct code to run on each JS runtime.
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