fix(ui): always clear complete tasks with the same name when starting a new task

This commit is contained in:
Folke Lemaitre 2022-12-17 14:28:41 +01:00
parent 5c0c381b56
commit 85e375223f
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 4 additions and 2 deletions

View file

@ -338,7 +338,6 @@ end
---@param task LazyTask
function M:log(task)
-- FIXME: only show last log task
local log = vim.trim(task.output)
if log ~= "" then
local lines = vim.split(log, "\n")