Merge pull request #556 from nykolaslima/patch-1

Remove unnecessary code
This commit is contained in:
Vladimir Mihailenco 2017-04-28 10:15:26 +03:00 committed by GitHub
commit 4c6e2ad9a0
1 changed files with 1 additions and 4 deletions

View File

@ -111,10 +111,7 @@ type baseCmd struct {
}
func (cmd *baseCmd) Err() error {
if cmd.err != nil {
return cmd.err
}
return nil
return cmd.err
}
func (cmd *baseCmd) args() []interface{} {