Skip to content

Commit

Permalink
some static analysis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jun 3, 2024
1 parent e1c9e1d commit 7e17a94
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ namespace :test do
"bundle exec appraisal #{ruby_runtime}-#{appraisal_group} rake #{spec_task}"
end

command += "'[#{spec_arguments}]'" if spec_arguments
command = "#{command} '[#{spec_arguments}]'" if spec_arguments

total_executors = ENV.key?("CIRCLE_NODE_TOTAL") ? ENV["CIRCLE_NODE_TOTAL"].to_i : nil
current_executor = ENV.key?("CIRCLE_NODE_INDEX") ? ENV["CIRCLE_NODE_INDEX"].to_i : nil
Expand Down Expand Up @@ -133,18 +133,17 @@ namespace :spec do
end

# Datadog CI integrations
[
:cucumber,
:rspec,
:minitest,
:minitest_shoulda_context,
:activesupport,
:ci_queue_minitest,
:ci_queue_rspec,
:knapsack_rspec,
:knapsack_rspec_go,
:selenium,
:timecop
%i[
cucumber
rspec
minitest
minitest_shoulda_context
activesupport
ci_queue_minitest
ci_queue_rspec
knapsack_rspec
knapsack_rspec_go
selenium timecop
].each do |contrib|
desc "" # "Explicitly hiding from `rake -T`"
RSpec::Core::RakeTask.new(contrib) do |t, args|
Expand Down

0 comments on commit 7e17a94

Please sign in to comment.