fix: make_entry.gen_from_string is a factory and needs to be called (#2116)

This commit is contained in:
Michał Nowotnik
2022-08-13 11:15:59 +02:00
committed by GitHub
parent e1206cb3e1
commit 12c08bfde7
4 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ local await_count = 1000
return function(opts)
opts = opts or {}
local entry_maker = opts.entry_maker or make_entry.gen_from_string
local entry_maker = opts.entry_maker or make_entry.gen_from_string(opts)
local cwd = opts.cwd
local env = opts.env
local fn_command = assert(opts.fn_command, "Must pass `fn_command`")