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

fix uri in validation message #119

Merged
merged 1 commit into from Dec 12, 2015
Merged

Conversation

razum2um
Copy link
Owner

No description provided.

uri.path
else
uri.to_s
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

end at 16, 12 is not aligned with if at 12, 31.

schema[Json::ID] = "file://#{uri}"
schema[Json::ID] = if uri.class == URI::Generic
uri.path
else
Copy link
Collaborator

Choose a reason for hiding this comment

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

Align else with if.

razum2um added a commit that referenced this pull request Dec 12, 2015
@razum2um razum2um merged commit 6e4e675 into master Dec 12, 2015
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.

None yet

2 participants