File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
npm_and_yarn/lib/dependabot/npm_and_yarn/update_checker Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -272,11 +272,11 @@ def latest_version_finder(dep)
272272 def find_version_without_trust_downgrade
273273 current_version = version_for_dependency ( dependency )
274274 candidate_versions = latest_version_finder ( dependency )
275- . possible_versions
276- . select { |v | v < version_class . new ( latest_allowable_version . to_s ) }
277- . select { |v | current_version . nil? || v > current_version }
278- . sort
279- . reverse
275+ . possible_versions
276+ . select { |v | v < version_class . new ( latest_allowable_version . to_s ) }
277+ . select { |v | current_version . nil? || v > current_version }
278+ . sort
279+ . reverse
280280
281281 candidate_versions . each do |candidate |
282282 next if version_has_trust_downgrade? ( candidate )
You can’t perform that action at this time.
0 commit comments