Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Govuk rubocopping #2

Merged
merged 4 commits into from
Apr 22, 2016
Merged

Govuk rubocopping #2

merged 4 commits into from
Apr 22, 2016

Conversation

rgarner
Copy link
Contributor

@rgarner rgarner commented Apr 22, 2016

No description provided.

'value' => 'Neglected%20Tropical%20Diseases'
}
'label' => 'Neglected Tropical Diseases',
'value' => 'Neglected%20Tropical%20Diseases'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Go home, rubocop. You're drunk.

@tahb tahb merged commit f491196 into master Apr 22, 2016
@tahb tahb deleted the govuk-rubocopping branch April 22, 2016 15:16
@@ -33,11 +33,12 @@
results_hash = JSON.parse results_str
source_array = results_hash.dig "results", "bindings"

dest_array = source_array.inject([]) do |dest_array, result|
Copy link
Contributor Author

@rgarner rgarner Apr 25, 2016

Choose a reason for hiding this comment

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

Suddenly occurs to me that the removal of this line means that Line 44 will explode with a NameError. Not that we were using this script, but still 😈

(I tend to agree with rubocop/rubocop#1518)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants