diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-16 08:23:32 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-16 08:23:32 +0200 |
commit | f21b827f7b1b200b83f64a558b1b44cf6bf312e9 (patch) | |
tree | 10fd9f48e03bda6a89ed000fce10d2f17b8b46c5 /commands/commands_test.go | |
parent | 7c597c7d756652c3cd50f3b538559ef505d817b9 (diff) |
commands: Re-add the missing releaser command
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index 376ca7976..907f003c0 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -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 } |