diff options
| -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!") |
