diff options
| author | ruki <[email protected]> | 2021-05-04 00:46:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-04 00:46:50 +0800 |
| commit | ea75ce387894387f757cd012b22ca2de453ff583 (patch) | |
| tree | 4ef22bb5fcc944bf3028a42d3c73644f19487f3e | |
| parent | 962f4ae9a36b8ebec84424388fddc6eba2741774 (diff) | |
fix cachedir
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/package/package.lua | 4 |
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 |
