aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/async/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/async/init.lua')
-rw-r--r--lua/mason-core/async/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/mason-core/async/init.lua b/lua/mason-core/async/init.lua
index 3c88eef0..0b327218 100644
--- a/lua/mason-core/async/init.lua
+++ b/lua/mason-core/async/init.lua
@@ -125,7 +125,8 @@ exports.run_blocking = function(suspend_fn, ...)
end, ...)
if
- vim.wait(60 * 60 * 1000, function() -- the wait time is completely arbitrary
+ resolved
+ or vim.wait(60 * 60 * 1000, function() -- the wait time is completely arbitrary
return resolved == true
end, 50)
then