Permalink
Browse files

little changed a format to output

  • Loading branch information...
1 parent 3794a2f commit e294babd2723c93ce2a832f4d8b5d15fbb08d905 @jugyo committed Jan 6, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cilite/runner.rb
View
4 lib/cilite/runner.rb
@@ -19,7 +19,7 @@ def start
begin
test_if_updated
rescue Exception => e
- puts "#{e.message}\n #{e.backtrace.join("\n ")}"
+ puts "<red>#{e.message}</red>".termcolor
ensure
sleep config[:interval]
end
@@ -40,7 +40,7 @@ def test_if_updated
end
def test(hash)
- puts "<magenta>start: #{hash}</magenta>".termcolor, config[:test_command]
+ puts "start: #{hash}", config[:test_command]
build = Build.new(config[:test_command])
build.start

0 comments on commit e294bab

Please sign in to comment.