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

Simplify abortion using abort_unless #12587

Closed
wants to merge 1 commit into from
Closed

Conversation

Omranic
Copy link
Contributor

@Omranic Omranic commented May 2, 2024

No description provided.

@danharrin
Copy link
Member

We want to abort IF the URL is blank, not UNLESS. Not trying to be rude here but please test your work, or it just creates more load for us.

Also, I'm not entirely sure the benefit. I don't like the fact that the inline variable is created inside the function call and then used underneath. I think I prefer the old way, sorry. If the variable init wasn't inside the func call, then I'd probably approve.

@danharrin danharrin closed this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants