From dc1e6573f2a1e3f85dd35c2acc26b647bd44e3b7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 9 Mar 2023 00:49:11 +0900 Subject: [PATCH] Fix commit miss --- spec/syntax_suggest/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/syntax_suggest/spec_helper.rb b/spec/syntax_suggest/spec_helper.rb index 8691246f38..ab5d153a26 100644 --- a/spec/syntax_suggest/spec_helper.rb +++ b/spec/syntax_suggest/spec_helper.rb @@ -18,7 +18,7 @@ RSpec.configure do |config| end if config.color_mode == :automatic - if color_enabled? and (ENV["TERM"] == "dumb" or ENV["NO_COLOR"]&.slice(0)) + if config.color_enabled? and (ENV["TERM"] == "dumb" or ENV["NO_COLOR"]&.slice(0)) config.color_mode = :off end end