mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-03-18 21:30:44 +01:00
Remove superflous if statement
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user