diff --git a/edit/bzlmod/bzlmod.go b/edit/bzlmod/bzlmod.go index 008a37918..17212c0ca 100644 --- a/edit/bzlmod/bzlmod.go +++ b/edit/bzlmod/bzlmod.go @@ -59,9 +59,8 @@ func AllProxies(f *build.File, proxy string) []string { if proxyCandidate == proxy { if isIsolated { return []string{proxy} - } else { - return Proxies(f, rawBzlFile, name, isDev) } + return Proxies(f, rawBzlFile, name, isDev) } } return nil