summaryrefslogtreecommitdiff
path: root/xmake/core/cache/localcache.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/cache/localcache.lua')
-rw-r--r--xmake/core/cache/localcache.lua2
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