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

Always return nil. #68

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Always return nil. #68

merged 1 commit into from
Dec 9, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Dec 9, 2024

See #65 for context/discussion.

Essentially, Console.info (or any level/#call) should always return nil (or in general, be consistent in it's return value).

You should not use Console... as part of a conditional IMHO. Returning nil will prevent this.

Types of Changes

  • Maintenance.

Contribution

@ioquatix ioquatix merged commit c6315d9 into main Dec 9, 2024
32 of 38 checks passed
@ioquatix ioquatix deleted the filter-return-nil branch December 9, 2024 04:47
@ioquatix ioquatix mentioned this pull request Dec 9, 2024
3 tasks
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.

1 participant