Remove superflous if statement

pull/225/head
Philipp Heckel 2022-04-27 11:23:44 -04:00
parent 6bd4e4bd7c
commit 72aea2613a
1 changed files with 0 additions and 2 deletions

View File

@ -118,8 +118,6 @@ func (p *actionParser) Parse() ([]*action, error) {
a, err := p.parseAction()
if err != nil {
return nil, err
} else if a == nil {
return actions, err
}
actions = append(actions, a)
}