Skip to content

Commit f16a2d3

Browse files
committed
keep skipping warnings on 2.7
1 parent b183848 commit f16a2d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ Rake::TestTask.new do |t|
2727
puts "+ #{f}" unless excluded
2828
excluded
2929
end
30+
31+
# After 2.7, there were not warnings for uninitialized ivars anymore
32+
if RUBY_VERSION < "3"
33+
t.warning = false
34+
end
3035
end
3136

3237
require 'rubocop/rake_task'

0 commit comments

Comments
 (0)