summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-11 23:34:42 +0800
committerruki <[email protected]>2024-01-11 23:34:42 +0800
commit4db2e920b5b2b83591a5d1bbab291fd60ae1f6c1 (patch)
tree8d8e026b9a01f9844725d3a9acb20e874a992706 /xmake/modules/private/cache/build_cache.lua
parentba921ad1a543ffe2f5e8c44b546d682103b34280 (diff)
fix remote ccache
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
-rw-r--r--xmake/modules/private/cache/build_cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua
index 198bdbcf1..91bdb20e5 100644
--- a/xmake/modules/private/cache/build_cache.lua
+++ b/xmake/modules/private/cache/build_cache.lua
@@ -197,7 +197,7 @@ function get(cachekey)
_g.cache_hit_count = (_g.cache_hit_count or 0) + 1
return objectfile_cached, objectfile_infofile
elseif remote_cache_client.is_connected() then
- try
+ return try
{
function ()
if not remote_cache_client.singleton():unreachable() then