[mike@mwxm4]
This commit is contained in:
+3
-5
@@ -169,15 +169,13 @@ func handleRelease(args string) {
|
||||
return
|
||||
}
|
||||
|
||||
targets, incomplete := cfg.mirrorTargets()
|
||||
configured, incomplete := cfg.mirrorTargets()
|
||||
for _, n := range incomplete {
|
||||
errorln("remote " + n + ": url or key missing — skipped")
|
||||
}
|
||||
targets = pickRemotes(targets, names)
|
||||
targets := pickRemotes(configured, names)
|
||||
if len(targets) == 0 {
|
||||
if len(names) == 0 { // an unknown @name already reported itself
|
||||
errorln("release needs a mirror target — see 'config'")
|
||||
}
|
||||
reportNoTargets("release", configured, names)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user