Skip to content
Snippets Groups Projects
Commit a43fd5ce authored by Robert Speicher's avatar Robert Speicher
Browse files

Disable colorization if STDOUT is not a tty

parent 1813adcd
No related branches found
No related tags found
No related merge requests found
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