summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-16 07:11:14 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-16 07:55:06 +0900
commit925617744622b123b6b55b2c9d750ab061097219 (patch)
tree62269c8e1c5981a47c474ab2eb395568ee016bf1
parentdc8450fd8e485e0e6f312c8da9b633464c175392 (diff)
downloadbundler-track-ruby-core-master.tar.gz
Fixed rubocop errortrack-ruby-core-master
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 0a957dd0be..14df93a3da 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -71,8 +71,8 @@ RSpec.configure do |config|
config.filter_run_excluding :git => RequirementChecker.against(git_version)
config.filter_run_excluding :bundler => RequirementChecker.against(Bundler::VERSION.split(".")[0])
config.filter_run_excluding :ruby_repo => !(ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"]).nil?
- config.filter_run_excluding :no_color_tty => Gem.win_platform? || !!ENV["GITHUB_ACTION"]
- config.filter_run_excluding :github_action_linux => !!ENV["GITHUB_ACTION"] && (ENV["RUNNER_OS"] == "Linux")
+ config.filter_run_excluding :no_color_tty => Gem.win_platform? || !ENV["GITHUB_ACTION"].nil?
+ config.filter_run_excluding :github_action_linux => !ENV["GITHUB_ACTION"].nil? && (ENV["RUNNER_OS"] == "Linux")
config.filter_run_when_matching :focus unless ENV["CI"]