Skip to content

Commit

Permalink
Use constant Gem::Platform::RUBY
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed May 7, 2024
1 parent 7f10921 commit 70af551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/sass/Rakefile
Expand Up @@ -380,7 +380,7 @@ module SassConfig
dependency_request = Gem::Resolver::DependencyRequest.new(dependency, nil)

versions = Gem::Resolver::BestSet.new.find_all(dependency_request).filter_map do |s|
s.version if s.platform == 'ruby'
s.version if s.platform == Gem::Platform::RUBY
end

versions.sort.reverse_each do |v|
Expand Down

0 comments on commit 70af551

Please sign in to comment.