commands: Re-add the missing releaser command

This commit is contained in:
Bjørn Erik Pedersen
2018-04-16 08:23:32 +02:00
parent 7c597c7d75
commit f21b827f7b
4 changed files with 54 additions and 2 deletions

View File

@@ -118,6 +118,9 @@ func TestCommandsPersistentFlags(t *testing.T) {
root := b.addAll().build()
for _, c := range b.commands {
if c.getCommand() == nil {
continue
}
// We are only intereseted in the flag handling here.
c.getCommand().RunE = noOpRunE
}