Commit 562a461c authored by Jacob Vosmaer's avatar Jacob Vosmaer

Disable rake color output unless connected to TTY

parent 44c55307
......@@ -2,6 +2,16 @@ module Gitlab
class TaskAbortedByUserError < StandardError; end
end
unless STDOUT.isatty
module Colored
extend self
def colorize(string, options={})
string
end
end
end
namespace :gitlab do
# Ask if the user wants to continue
......
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