Commit 73dde832 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'auto_disable_color' of /home/git/repositories/gitlab/gitlabhq

parents 98c792e0 562a461c
......@@ -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