Skip to content

Added Docs, Ran Credo#29

Merged
jeregrine merged 3 commits into
masterfrom
js/code-review
Aug 19, 2016
Merged

Added Docs, Ran Credo#29
jeregrine merged 3 commits into
masterfrom
js/code-review

Conversation

@jeregrine

@jeregrine jeregrine commented Aug 19, 2016

Copy link
Copy Markdown
Contributor

This change is Reviewable

Comment thread lib/sentry/client.ex
def send_event(%Event{} = event) do
{endpoint, public_key, secret_key} = Application.fetch_env!(:sentry, :dsn)
|> parse_dsn!
{endpoint, public_key, secret_key} = parse_dsn!(Application.fetch_env!(:sentry, :dsn))

@mitchellhenke mitchellhenke Aug 19, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess I don't understand credo's issue with this. piping the result of a function into another function is readable enough?

Especially compared to nesting function calls

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Eh I don't mind either.

@jeregrine jeregrine merged commit 44c2f6c into master Aug 19, 2016
@jeregrine jeregrine deleted the js/code-review branch August 19, 2016 19: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

Development

Successfully merging this pull request may close these issues.

2 participants