Skip to content

refactor(internal/glrepo/resolver): remove unreachable code

Created by: maxice8

because of the loop condition:

for i := 0; i < len(result.remotes) && i < maxRemotesForLookup; i++ {

It is impossible to reach this, the loop will never reach a place where the condition triggers. Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports