Commit 24dd1e81 authored by Fabio Pelosin's avatar Fabio Pelosin

[Executable] Fine tune output.

parent 598c743c
...@@ -6,7 +6,7 @@ module Pod ...@@ -6,7 +6,7 @@ module Pod
attr_accessor :indent attr_accessor :indent
attr_accessor :io attr_accessor :io
def initialize(io = nil, indent = ' ') def initialize(io = nil, indent = ' ')
@io = io @io = io
@indent = indent @indent = indent
end end
...@@ -26,7 +26,7 @@ module Pod ...@@ -26,7 +26,7 @@ module Pod
end end
full_command = "#{bin} #{command}" full_command = "#{bin} #{command}"
if Config.instance.verbose? if Config.instance.verbose?
puts " $ #{full_command}" puts " $ #{full_command}"
stdout, stderr = Indenter.new(STDOUT), Indenter.new(STDERR) stdout, stderr = Indenter.new(STDOUT), Indenter.new(STDERR)
else else
stdout, stderr = Indenter.new, Indenter.new stdout, stderr = Indenter.new, Indenter.new
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment