diff --git a/lib/thor/shell/color.rb b/lib/thor/shell/color.rb index aee95292..0602deeb 100644 --- a/lib/thor/shell/color.rb +++ b/lib/thor/shell/color.rb @@ -97,7 +97,7 @@ def set_color(string, *colors) protected def can_display_colors? - are_colors_supported? && !are_colors_disabled? + ENV['FORCE_COLOR'] || (are_colors_supported? && !are_colors_disabled?) end def are_colors_supported?