bin/ppdb in hieracles-0.3.1 vs bin/ppdb in hieracles-0.3.2
- old
+ new
@@ -39,10 +39,10 @@
if args.length < required.length
args = required.join(', ')
puts "*** The #{command} method requires arguments: #{args}"
exit(1)
else
- if Hieracles::Config.format == 'Json'
+ if config.format == 'Json'
format = Hieracles::Formats::Json.new(nil)
else
format = Hieracles::Formats::Console.new(nil)
end
resp = meth.call(*args)