We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9cda1a commit 6e266b3Copy full SHA for 6e266b3
spec/spec_helper.rb
@@ -18,7 +18,7 @@
18
end
19
20
if config.color_mode == :automatic
21
- if config.color_enabled? and (ENV["TERM"] == "dumb" or ENV["NO_COLOR"]&.slice(0))
+ if config.color_enabled? && ((ENV["TERM"] == "dumb") || ENV["NO_COLOR"]&.slice(0))
22
config.color_mode = :off
23
24
0 commit comments