Skip to content

Commit

Permalink
Update rakefile, remove duplication and resequence
Browse files Browse the repository at this point in the history
The use of default clear and then setting was triggering a duplication warning
Remove the clear and just set the required values

Also, resequence the tasks as rspec would now fail as we no longer
have 100% coverage, cucumber will _never_ run
  • Loading branch information
colinbruce committed Aug 1, 2023
1 parent c87ba5d commit 9cf82e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ require_relative "config/application"
Rails.application.load_tasks

unless Rails.env.production?
task(:default).clear
task default: %i[rubocop erblint javascript_tests spec cucumber]
task default: %i[rubocop erblint javascript_tests cucumber spec]
end

0 comments on commit 9cf82e0

Please sign in to comment.