summaryrefslogtreecommitdiff
path: root/xmake/core/cache/globalcache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-22 00:57:28 +0800
committerruki <[email protected]>2020-12-22 00:57:28 +0800
commit0734881144db86eaf8a7dce17f32bdc5bccc7346 (patch)
treebaf88289ed0f31f9a5cd35cc8828b8d492fb85b0 /xmake/core/cache/globalcache.lua
parent03ea42dd480b1397394c2363a61b09f438498283 (diff)
fix repl history
Diffstat (limited to 'xmake/core/cache/globalcache.lua')
-rw-r--r--xmake/core/cache/globalcache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/cache/globalcache.lua b/xmake/core/cache/globalcache.lua
index fbed27408..a18b36ccf 100644
--- a/xmake/core/cache/globalcache.lua
+++ b/xmake/core/cache/globalcache.lua
@@ -58,7 +58,7 @@ end
-- save cache
function _instance:save()
- local ok, errors = io.save(path.join(config.cachedir(), self:name()), self._DATA)
+ local ok, errors = io.save(path.join(global.cachedir(), self:name()), self._DATA)
if not ok then
os.raise(errors)
end