mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-23 03:43:47 +01:00
Remove superflous if statement
This commit is contained in:
parent
6bd4e4bd7c
commit
72aea2613a
1 changed files with 0 additions and 2 deletions
|
@ -118,8 +118,6 @@ func (p *actionParser) Parse() ([]*action, error) {
|
||||||
a, err := p.parseAction()
|
a, err := p.parseAction()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} else if a == nil {
|
|
||||||
return actions, err
|
|
||||||
}
|
}
|
||||||
actions = append(actions, a)
|
actions = append(actions, a)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue