Skip to content

Commit 806cce8

Browse files
committed
Fix lint
1 parent 0a52d02 commit 806cce8

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
@@ -8,7 +8,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
88
gemspec
99

1010
ruby_version = Gem::Version.new(RUBY_VERSION)
11-
rails_version = ENV.fetch("RAILS_VERSION") == "edge" ? Gem::Version.new("8.2") : Gem::Version.new(ENV.fetch("RAILS_VERSION"))
11+
rails_version = ENV.fetch("RAILS_VERSION", "edge") == "edge" ? Gem::Version.new("8.2") : Gem::Version.new(ENV.fetch("RAILS_VERSION"))
1212

1313
if ruby_version >= Gem::Version.new("3.2") && rails_version >= Gem::Version.new("7.1")
1414
sidekiq_version = ">= 8.0.9" # Fixes incompatibility with connection_pool >= 3.0.0, but is not compatible with Rails 7.0

0 commit comments

Comments
 (0)