Skip to content

Instantly share code, notes, and snippets.

@mburns
Created May 29, 2016 08:55
Show Gist options
  • Save mburns/b11a6c8a61887e5f9a4a8fa65fd98883 to your computer and use it in GitHub Desktop.
Save mburns/b11a6c8a61887e5f9a4a8fa65fd98883 to your computer and use it in GitHub Desktop.
rubocop auto_correct failure
-nodes.select { |x| x.has_key?(:services) and not x[:services].to_a.empty? }.each do |n|
+nodes.select { |x| x.has_key?(:services) and notx[:services].to_a.empty? }.each do |n|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment