summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_vsjitdebugger.lua
diff options
context:
space:
mode:
authorRimuruChan <[email protected]>2025-05-13 04:16:10 +0800
committerRimuruChan <[email protected]>2025-05-15 17:28:31 +0800
commit8ccaf071e47d4db7614d0ef69e67be5a979e7919 (patch)
tree742482e11801e6127ff61627cff65a276e12b81b /xmake/modules/detect/tools/find_vsjitdebugger.lua
parent9b52d78996d56d79565bed33be7e5a7be98c15f7 (diff)
Wrap opt.paths in a table for find tools
Diffstat (limited to 'xmake/modules/detect/tools/find_vsjitdebugger.lua')
-rw-r--r--xmake/modules/detect/tools/find_vsjitdebugger.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_vsjitdebugger.lua b/xmake/modules/detect/tools/find_vsjitdebugger.lua
index ecaede0b7..315b333bc 100644
--- a/xmake/modules/detect/tools/find_vsjitdebugger.lua
+++ b/xmake/modules/detect/tools/find_vsjitdebugger.lua
@@ -50,6 +50,7 @@ function main(opt)
return (val("reg " .. reg) or ""):match("\"(.-)\"")
end
end
+ opt.paths = table.wrap(opt.paths)
opt.check = opt.check or function (program) if not os.isfile(program) then raise() end end
-- find program