lib/dependabot/composer/update_checker/requirements_updater.rb in dependabot-composer-0.169.4 vs lib/dependabot/composer/update_checker/requirements_updater.rb in dependabot-composer-0.169.5
- old
+ new
@@ -234,10 +234,11 @@
version.segments.map.with_index do |_, index|
if index < index_to_update
version_to_be_permitted.segments[index]
elsif index == index_to_update
version_to_be_permitted.segments[index] + 1
- else 0
+ else
+ 0
end
end.join(".")
end
def version_class