Skip to content

Commit

Permalink
chore(bazel): Omit a default argument
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Aug 15, 2024
1 parent fa35e72 commit 48f4128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal class MultiBazelModuleRegistryService(
}

// Add the default Bazel registry as a fallback.
registryServices += RemoteBazelModuleRegistryService.create(null)
registryServices += RemoteBazelModuleRegistryService.create()

return MultiBazelModuleRegistryService(registryServices)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private class MockRegistryServices(
RemoteBazelModuleRegistryService.create(registryUrls[1])
} returns remoteRegistry
every {
RemoteBazelModuleRegistryService.create(url = null)
RemoteBazelModuleRegistryService.create()
} returns centralRegistry

return MockRegistryServices(listOf(localRegistry1, localRegistry2, remoteRegistry, centralRegistry))
Expand Down

0 comments on commit 48f4128

Please sign in to comment.