mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Update worker.go
This commit is contained in:
parent
d3f4754397
commit
4215193af9
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ func (w *worker) Execute(r *model.Request) {
|
|||
}
|
||||
|
||||
// send all "started" notifications
|
||||
if script.Notifications != nil {
|
||||
if script.Notifications == nil {
|
||||
script.Notifications = ¬ify.Notification{}
|
||||
}
|
||||
script.Notifications.Send(r)
|
||||
|
|
Loading…
Reference in a new issue