Skip to content
Snippets Groups Projects
Commit 2d865213 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'rs-disable-colorization' into 'master'

Disable colorization if STDOUT is not a tty

Closes #6118 

See merge request !2403
parents 73e07540 6d68ba28
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -247,7 +247,7 @@ group :development, :test do
gem 'byebug', platform: :mri
gem 'pry-rails'
 
gem 'awesome_print', '~> 1.2.0'
gem 'awesome_print', '~> 1.2.0', require: false
gem 'fuubar', '~> 2.0.0'
 
gem 'database_cleaner', '~> 1.4.0'
Loading
Loading
Loading
Loading
@@ -2,6 +2,8 @@ module Gitlab
class TaskAbortedByUserError < StandardError; end
end
 
String.disable_colorization = true unless STDOUT.isatty
namespace :gitlab do
 
# Ask if the user wants to continue
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment