lib/sym/app/cli.rb in sym-2.8.5 vs lib/sym/app/cli.rb in sym-2.10.0
- old
+ new
@@ -58,11 +58,10 @@
attr_accessor :opts, :application, :outputs, :stdin, :stdout, :stderr, :kernel
def initialize(argv, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = nil)
-
self.stdin = stdin
self.stdout = stdout
self.stderr = stderr
self.kernel = kernel
@@ -138,10 +137,10 @@
end
private
def log(*args)
- Sym::App.log(*args, **(opts.to_hash))
+ Sym::App.log(*args, **opts.to_hash)
end
def error(hash)
hash.merge!(config: opts.to_hash) if opts
hash.merge!(command: @command) if @command