test: fix tests

This commit is contained in:
Folke Lemaitre 2024-06-26 14:29:00 +02:00
parent 0614ca6ca6
commit bbe136bda6
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 24 additions and 23 deletions

View file

@ -195,7 +195,6 @@ function Task:spawn(cmd, opts)
local on_exit = opts.on_exit
function opts.on_line(line)
self:notify(line)
self.status = line
if on_line then
pcall(on_line, line)