Skip to content

Conversation

netguino
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage decreased (-2.1%) to 79.802% when pulling 6d6e9c4 on OPS-3543_handle_empty_string into ff71cb2 on master.

end

data = if resource_type == 'text'
data = if (resource_type == 'text' || resource_type == '')
Copy link
Contributor

@lopaka lopaka Oct 31, 2016

Choose a reason for hiding this comment

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

In ruby, not suggested to use parentheses around the condition of an if block. Will work as:

data = if resource_type == 'text' || resource_type == ''

@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage decreased (-2.1%) to 79.802% when pulling 279cea7 on OPS-3543_handle_empty_string into ff71cb2 on master.

@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage decreased (-2.1%) to 79.802% when pulling 1e43fc3 on OPS-3543_handle_empty_string into ff71cb2 on master.

@netguino netguino closed this Oct 31, 2016
@netguino netguino deleted the OPS-3543_handle_empty_string branch October 31, 2016 23:43
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