summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/actions/install.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-09 23:45:48 +0800
committerruki <[email protected]>2026-08-09 23:45:48 +0800
commit6f2617cbdf2ba77ba424507941a50fda8d64e0b9 (patch)
treee14c0b857629e8b59d187b5c8e185aea4ecef8e8 /xmake/modules/private/action/require/impl/actions/install.lua
parentc7172a3a0cce98e395567202e732ebb86b475360 (diff)
improve addon.register
Diffstat (limited to 'xmake/modules/private/action/require/impl/actions/install.lua')
-rw-r--r--xmake/modules/private/action/require/impl/actions/install.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/install.lua b/xmake/modules/private/action/require/impl/actions/install.lua
index 629b37aff..fe74e833e 100644
--- a/xmake/modules/private/action/require/impl/actions/install.lua
+++ b/xmake/modules/private/action/require/impl/actions/install.lua
@@ -510,9 +510,8 @@ function main(package)
table.insert(deps, dep:name())
end
end
- local ok, errors = addon.register(package:name(), package:version_str() or "latest",
+ addon.register(package:name(), package:version_str() or "latest",
{description = package:description(), deps = deps})
- assert(ok, errors)
end
installed_now = true
end