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(js): Skip null as option same as undefined #1579

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

mitsuhiko
Copy link
Member

@mitsuhiko mitsuhiko commented Apr 13, 2023

Currently if you pass {dist: undefined} or {release:undefined} that value is skipped as parameter. However if you pass {dist:null} it turns into --dist null which just makes no sense. I would vote for removing this footgun and removing null the same way as undefined.

Refs getsentry/action-release#125

Fixes #1578

@mitsuhiko mitsuhiko merged commit 67304c5 into master Apr 17, 2023
16 checks passed
@mitsuhiko mitsuhiko deleted the feature/skip-null-option branch April 17, 2023 20:31
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.

Prevent creating files with dist="null"
2 participants