lib/advance.rb in advance-0.4.4 vs lib/advance.rb in advance-0.4.5
- old
+ new
@@ -306,10 +306,10 @@
File.join(dir_path, "{file}")
end
end
def do_command(command, feedback = true)
- puts "#{YELLOW}#{command}#{RESET} " #if feedback
+ puts "#{YELLOW}#{command}#{RESET} " if feedback
start_time = Time.now
stdout, stderr, status = Open3.capture3(command)
elapsed_time = Time.now - start_time
File.open("log", "w") do |f|
f.puts "%%% command: >#{command}<"