Skip to content

Commit

Permalink
Merge pull request #145 from voxpupuli/fix-need-another-sync
Browse files Browse the repository at this point in the history
fix comparsion
  • Loading branch information
Robert Müller authored Apr 29, 2020
2 parents 0bdac4e + ccf4d1e commit e77cb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/repo_status_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def perform
data.need_another_sync = []
versions.each do |repo|
# index 0 is the module name, index 1 is the used modulesync_config version
if Gem::Version.new(latest_release) >= Gem::Version.new(repo[1])
if Gem::Version.new(latest_release) > Gem::Version.new(repo[1])
data.need_another_sync << repo[0]
end
end
Expand Down

0 comments on commit e77cb0d

Please sign in to comment.