Skip to content

Commit 4a52281

Browse files
committed
Make the --color=false option, work properly.
1 parent 1445adc commit 4a52281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/foreman/engine/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def self.enable(io, force=false)
3030
end
3131

3232
def color?
33-
return true if @@color_force
33+
return @@color_force unless @@color_force.nil?
3434
return false if Foreman.windows?
3535
return false unless self.respond_to?(:isatty)
3636
self.isatty && ENV["TERM"]

0 commit comments

Comments
 (0)