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

feat(cli): provide a more helpful error if there's no command #396

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

k-yle
Copy link
Collaborator

@k-yle k-yle commented Dec 10, 2024

Closes #149, Closes #134, Closes #283

There is now a helpful error if you run env-cmd on its own, without any associated command. (for example: env-cmd && node ....)

The current error is "ERR_INVALID_ARG_TYPE" which is quite cryptic

Copy link
Owner

@toddbluhm toddbluhm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats awesome! Good catch!

@k-yle k-yle merged commit 24e8d18 into master Dec 11, 2024
18 checks passed
@k-yle k-yle deleted the kh/invoke-error branch December 11, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants