Skip to content

Commit

Permalink
Fix Style/RedundantCondition cop
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver committed Jan 19, 2024
1 parent f987ecb commit 78bc96d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/discovery.rake
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ namespace :test do
Rake::TestTask.new(:discovery) do |t|
test_dir = File.join(File.dirname(__FILE__), '..', 'test')
t.libs << ["test",test_dir]
if ENV['FILE'] || ENV['TEST']
t.pattern = ENV['FILE'] || ENV['TEST']
else
t.pattern = "#{test_dir}/**/*_test.rb"
end
t.pattern = ENV['FILE'] || ENV['TEST'] || "#{test_dir}/**/*_test.rb"
t.verbose = true
t.warning = false
end
Expand Down

0 comments on commit 78bc96d

Please sign in to comment.