summaryrefslogtreecommitdiff
path: root/xmake/modules/async/jobgraph.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-05 00:50:38 +0800
committerruki <[email protected]>2025-04-08 15:31:57 +0800
commit1839ec9aebb573adc36803bf3d632f97410f3666 (patch)
tree46e12ff0baae5d42b079e4d82f9bd500c5864c41 /xmake/modules/async/jobgraph.lua
parentc6b6ae7961f8454ab8280ef8d17b5228408096c3 (diff)
sort target rules
Diffstat (limited to 'xmake/modules/async/jobgraph.lua')
-rw-r--r--xmake/modules/async/jobgraph.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/async/jobgraph.lua b/xmake/modules/async/jobgraph.lua
index be1ad57f0..4bbc53ff4 100644
--- a/xmake/modules/async/jobgraph.lua
+++ b/xmake/modules/async/jobgraph.lua
@@ -109,7 +109,7 @@ end
-- has the given job or group?
function jobgraph:has(name)
- return self._jobs[name] or self._groups[name]
+ return (self._jobs[name] or self._groups[name]) ~= nil
end
-- enter group to add jobs