From ea75ce387894387f757cd012b22ca2de453ff583 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 4 May 2021 00:46:50 +0800 Subject: fix cachedir --- xmake/core/sandbox/modules/import/core/package/package.lua | 4 ++-- 1 file 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 -- cgit v1.3.1