Skip to content

Commit 6e266b3

Browse files
committed
standardrb --fix-unsafely spec/spec_helper.rb
1 parent a9cda1a commit 6e266b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
end
1919

2020
if config.color_mode == :automatic
21-
if config.color_enabled? and (ENV["TERM"] == "dumb" or ENV["NO_COLOR"]&.slice(0))
21+
if config.color_enabled? && ((ENV["TERM"] == "dumb") || ENV["NO_COLOR"]&.slice(0))
2222
config.color_mode = :off
2323
end
2424
end

0 commit comments

Comments
 (0)