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

Support environments without process.argv #44

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

copini
Copy link
Contributor

@copini copini commented Jul 6, 2023

Defaults to an empty array when process.argv is undefined (like on Edge Runtime). Fixes #41.

@DABH
Copy link
Owner

DABH commented Jul 10, 2023

I think this change is non-breaking so I'm ok with merging. The CI failure comes from old (unsupported) node versions that I just fixed on master, so safe to ignore that failure. Thanks for the contribution!

@DABH DABH merged commit 5263348 into DABH:master Jul 10, 2023
2 of 3 checks passed
@copini copini deleted the edge-runtime-support branch September 20, 2023 10:11
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.

has-flag.js - seems to assume cli use, causing issue during synchronous module loading
2 participants