summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-19 23:02:18 +0800
committerruki <[email protected]>2023-11-19 23:02:18 +0800
commit081ab8547ac7faff45ee89cdd9b4fcd6c7d68775 (patch)
tree762571a0a08f951beba9d3dead76a245d16bddde
parentd7922c5f3ea262e950a32a71aee9abf77aa3fe9e (diff)
update comment
-rw-r--r--xmake/core/package/package.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 522badc9c..063213bbb 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1601,6 +1601,7 @@ function _instance:_fetch_tool(opt)
end
end
end
+ -- we can disable to fallback fetch if on_fetch return false
if fetchinfo == nil then
self._find_tool = self._find_tool or sandbox_module.import("lib.detect.find_tool", {anonymous = true})
if opt.system then