diff options
| author | ShifftC <[email protected]> | 2023-11-26 20:38:36 +0100 |
|---|---|---|
| committer | ShifftC <[email protected]> | 2023-11-26 20:38:36 +0100 |
| commit | db928077f21341961eb49f3f0201f61fe2c4b914 (patch) | |
| tree | 6aaa3bd0480b674c784848a6ec5eed55ec26d1d2 | |
| parent | 8865866a47f023f4b36453d25c75e876f503323d (diff) | |
Fix typo in runjobs
| -rw-r--r-- | xmake/modules/async/runjobs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/async/runjobs.lua b/xmake/modules/async/runjobs.lua index 8812251ac..19090da5d 100644 --- a/xmake/modules/async/runjobs.lua +++ b/xmake/modules/async/runjobs.lua @@ -56,7 +56,7 @@ end function main(name, jobs, opt) -- init options - op = opt or {} + opt = opt or {} local total = opt.total or (type(jobs) == "table" and jobs:size()) or 1 local comax = opt.comax or math.min(total, 4) local distcc = opt.distcc |
