From 8ccaf071e47d4db7614d0ef69e67be5a979e7919 Mon Sep 17 00:00:00 2001 From: RimuruChan Date: Tue, 13 May 2025 04:16:10 +0800 Subject: Wrap opt.paths in a table for find tools --- xmake/modules/detect/tools/find_vsjitdebugger.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/modules/detect/tools/find_vsjitdebugger.lua') 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 -- cgit v1.3.1