diff options
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/project.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index 750787ec4..2fdce5948 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -150,8 +150,8 @@ function sandbox_core_project._load_package_rules_for_target(target) for _, rulename in ipairs(table.wrap(target:get("rules"))) do local packagename = rulename:match("@(.-)/") if packagename then - local pkginfo = project.required_package(packagename) local ruleinst + local pkginfo = project.required_package(packagename) if pkginfo then ruleinst = pkginfo:rule(rulename) if ruleinst then |
