mirror of https://github.com/folke/lazy.nvim.git
fix(async): remove debug assert
This commit is contained in:
parent
00c23e72a3
commit
3513227a9a
|
@ -153,9 +153,7 @@ end
|
|||
function M.running()
|
||||
local co = coroutine.running()
|
||||
if co then
|
||||
local async = M._threads[co]
|
||||
assert(async, "In coroutine without async context")
|
||||
return async
|
||||
return M._threads[co]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue