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!

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