We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e3bc8 commit ec28942Copy full SHA for ec28942
1 file changed
lua/plenary/async/util.lua
@@ -53,6 +53,10 @@ end
53
M.join = function(async_fns)
54
local len = #async_fns
55
local results = {}
56
+ if len == 0 then
57
+ return results
58
+ end
59
+
60
local done = 0
61
62
local tx, rx = channel.oneshot()
0 commit comments