Skip to content

Commit

Permalink
Merge pull request #300 from mattv/output-blank-lines
Browse files Browse the repository at this point in the history
Don't ignore blank lines in the output
  • Loading branch information
ddollar committed Jan 14, 2013
2 parents af57bf3 + 61eca5a commit 92c1909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman/engine/cli.rb
Expand Up @@ -54,7 +54,7 @@ def startup
end

def output(name, data)
data.to_s.chomp.split("\n").each do |message|
data.to_s.lines.map(&:chomp).each do |message|
output = ""
output += $stdout.color(@colors[name.split(".").first].to_sym)
output += "#{Time.now.strftime("%H:%M:%S")} #{pad_process_name(name)} | "
Expand Down

0 comments on commit 92c1909

Please sign in to comment.