lib/onering/cli.rb in onering-client-0.0.54 vs lib/onering/cli.rb in onering-client-0.0.55
- old
+ new
@@ -35,10 +35,10 @@
if d.is_a?(Hash)
d.coalesce.each do |k,v|
puts k.to_s+': '+v.to_s
end
else
- puts d unless d.empty?
+ puts d unless d.nil? or d.empty?
end
end
end
when 'json'
\ No newline at end of file