summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/sandbox/modules/import/core/package/package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/import/core/package/package.lua b/xmake/core/sandbox/modules/import/core/package/package.lua
index 5dce9c49b..4ba67d246 100644
--- a/xmake/core/sandbox/modules/import/core/package/package.lua
+++ b/xmake/core/sandbox/modules/import/core/package/package.lua
@@ -27,8 +27,8 @@ local package = require("package/package")
local raise = require("sandbox/modules/raise")
-- get cache directory
-function sandbox_core_package_package.cachedir()
- return package.cachedir()
+function sandbox_core_package_package.cachedir(opt)
+ return package.cachedir(opt)
end
-- the install directory