Skip to content

Commit 53604f4

Browse files
authored
Merge pull request #2396 from rspec/drop-unused-conditional-option
Drop 'main' from conditional as it's unrelated to Rails versions
2 parents e5ebcff + e07500f commit 53604f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ MAJOR =
2626
case RAILS_VERSION
2727
when /5-2-stable/
2828
5
29-
when /main/, /stable/, nil, false, ''
29+
when /stable/, nil, false, ''
3030
6
3131
else
3232
/(\d+)[\.|-]\d+/.match(RAILS_VERSION).captures.first.to_i

0 commit comments

Comments
 (0)