diff options
| author | ruki <[email protected]> | 2025-03-19 23:30:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:54 +0800 |
| commit | a588ee1c3f407cdfcbe5bc9753a5be1b7ca72e7e (patch) | |
| tree | 1cdd5ba6206110cbaa6529211fbca7df49db939d | |
| parent | 08fade0d0b92ed766da0f752d375eda1126291f8 (diff) | |
fix 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 959eb1e77..d2af72843 100644 --- a/xmake/modules/async/runjobs.lua +++ b/xmake/modules/async/runjobs.lua @@ -66,7 +66,7 @@ function main(name, jobs, opt) assert(timeout < 60000, "runjobs: invalid timeout!") -- build jobs queue - if jobs.build then + if type(jobs) == "table" and jobs.build then jobs = jobs:build() end assert(jobs, "runjobs: no jobs!") |
