diff options
| author | ruki <[email protected]> | 2021-05-12 00:37:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-12 00:37:42 +0800 |
| commit | 4e67226f86e1949d1087893cd8fe218535d91ba9 (patch) | |
| tree | ab02507940eabe403903b4ce80ec353681510223 /xmake/modules/private/async/jobpool.lua | |
| parent | a19a2e76fbd8abe1f592f013776a8776a758aa1f (diff) | |
isolate coroutine
Diffstat (limited to 'xmake/modules/private/async/jobpool.lua')
| -rw-r--r-- | xmake/modules/private/async/jobpool.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/async/jobpool.lua b/xmake/modules/private/async/jobpool.lua index 2709db341..299700534 100644 --- a/xmake/modules/private/async/jobpool.lua +++ b/xmake/modules/private/async/jobpool.lua @@ -39,11 +39,11 @@ end -- -- @param name the job name -- @param run the run command/script --- @param opt the options (rootjob, envs) +-- @param opt the options (rootjob) -- function jobpool:addjob(name, run, opt) opt = opt or {} - return self:add({name = name, run = run, envs = opt.envs}, opt.rootjob) + return self:add({name = name, run = run}, opt.rootjob) end -- add job to the given job node |
