Commit
+1 -1 +/-1 browse
1 | diff --git a/pkg/internal/runner.go b/pkg/internal/runner.go |
2 | index ea9fe17..46a802c 100644 |
3 | --- a/pkg/internal/runner.go |
4 | +++ b/pkg/internal/runner.go |
5 | @@ -80,7 +80,7 @@ func (t *TaskRunner) SetState(state State) { |
6 | t.state = state |
7 | // execute onEvent command if variable is set |
8 | if t.onEvent != nil { |
9 | - t.runOnEvent() |
10 | + go t.runOnEvent() |
11 | } |
12 | } |
13 |