diff options
| author | ruki <[email protected]> | 2020-10-06 00:50:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-06 00:50:32 +0800 |
| commit | 461f42144aae7ab04d1c342d63ade05eda7a4338 (patch) | |
| tree | 915575b1a8d92c5d4d3dce1c6a3069fded12667b /xmake/core/project/target.lua | |
| parent | 6576473af7c58290402609c460eb1b1062f75d34 (diff) | |
fix load targets
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index ab6a90b51..af62b667b 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -84,7 +84,7 @@ end -- load rules function _instance:_load_rules(suffix) - for _, r in pairs(self:orderules()) do + for _, r in ipairs(self:orderules()) do local ok, errors = self:_load_rule(r, suffix) if not ok then return false, errors |
