diff options
| author | ruki <[email protected]> | 2020-12-21 22:39:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-21 22:39:10 +0800 |
| commit | 709765844261afbf8c188914c638ee7ff9380fd4 (patch) | |
| tree | e21d66fbd5b2c8e5297ab41086b6042ef2909626 /xmake/core/cache/localcache.lua | |
| parent | bcc7f92bf3779ab59dd7ab8783ba0eb27cc9be89 (diff) | |
add detectcache
Diffstat (limited to 'xmake/core/cache/localcache.lua')
| -rw-r--r-- | xmake/core/cache/localcache.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/cache/localcache.lua b/xmake/core/cache/localcache.lua index f937bc9d0..f6016ef60 100644 --- a/xmake/core/cache/localcache.lua +++ b/xmake/core/cache/localcache.lua @@ -50,7 +50,7 @@ end -- load cache function _instance:load() local result = io.load(path.join(config.cachedir(), self:name())) - if result then + if result ~= nil then self._DATA = result end end |
