Skip to content

Commit

Permalink
adapted suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Nov 22, 2019
1 parent 6701f0f commit e55fdf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/migration/repository_checker.rb
Expand Up @@ -87,6 +87,7 @@ def product_upgrade?(new_product, old_product)
# use Gem::Version internally for a proper version string comparison
# TODO: check also "provides" to handle product renames (should not happen
# in SP migration, but anyway...)
# TODO: use Pkg.CompareVersions()
old_product.name == new_product.name &&
(Gem::Version.new(old_product.version_version) <
Gem::Version.new(new_product.version_version))
Expand Down

0 comments on commit e55fdf8

Please sign in to comment.