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

Hex.Build refactoring #286

Merged
merged 5 commits into from
Sep 5, 2016
Merged

Hex.Build refactoring #286

merged 5 commits into from
Sep 5, 2016

Conversation

lexmag
Copy link
Contributor

@lexmag lexmag commented Sep 4, 2016

No description provided.

defp error_long_description(meta) do
description = meta[:description] || ""
defp check_description_length(metadata) do
descr = metadata[:description] || ""
Copy link
Member

Choose a reason for hiding this comment

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

Any specific reason to change these variable names?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is purely opinionated, I think metadata reads better than just meta.
Will change it back if you like. :bowtie:

Copy link
Contributor

Choose a reason for hiding this comment

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

Personally I'm ok with meta or metadata, but I think description is better than descr :)

@ericmj
Copy link
Member

ericmj commented Sep 4, 2016

Looks great, just one minor comment.

@ericmj ericmj merged commit 00902a1 into hexpm:master Sep 5, 2016
@lexmag lexmag deleted the refactor-build branch September 5, 2016 21:10
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.

3 participants