-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix test failing on elixir 1.15 #592
Conversation
12c8923
to
b1d7cc0
Compare
ae56963
to
9aa180a
Compare
9993cdc
to
142d765
Compare
lib/membrane/logger.ex
Outdated
message.() | ||
|> message_result_mapper.() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of credo error caused by dept = 3. This is a workaround to avoid it. I was not convinced to create a separate public function especially for this single usage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I'd disable this warning locally (or increase dept to 3 globally?) or find another way to write this
Related Jira ticket: https://membraneframework.atlassian.net/browse/MC-226