diff options
| author | ruki <[email protected]> | 2020-12-22 00:57:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-22 00:57:28 +0800 |
| commit | 0734881144db86eaf8a7dce17f32bdc5bccc7346 (patch) | |
| tree | baf88289ed0f31f9a5cd35cc8828b8d492fb85b0 /xmake/core/cache/globalcache.lua | |
| parent | 03ea42dd480b1397394c2363a61b09f438498283 (diff) | |
fix repl history
Diffstat (limited to 'xmake/core/cache/globalcache.lua')
| -rw-r--r-- | xmake/core/cache/globalcache.lua | 2 |
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 |
