aboutsummaryrefslogtreecommitdiff
path: root/lua/tasks/runner.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tasks/runner.lua')
-rw-r--r--lua/tasks/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/tasks/runner.lua b/lua/tasks/runner.lua
index bcd0bfa..4bc277a 100644
--- a/lua/tasks/runner.lua
+++ b/lua/tasks/runner.lua
@@ -165,7 +165,7 @@ function runner.chain_commands(task_name, commands, module_config, addition_args
165 end 165 end
166 166
167 if #commands ~= 1 then 167 if #commands ~= 1 then
168 job:after_success(function() runner.chain_commands(task_name, vim.list_slice(commands, 2), module_config, addition_args, job) end) 168 job:after_success(vim.schedule_wrap(function() runner.chain_commands(task_name, vim.list_slice(commands, 2), module_config, addition_args, job) end))
169 end 169 end
170 last_job = job 170 last_job = job
171end 171end