summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_vsjitdebugger.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-28 23:09:23 +0800
committerruki <[email protected]>2020-09-28 23:09:23 +0800
commit0c52f3a6ab4397c5be94c3293f4ae20d6b7a8b94 (patch)
treec6bacf9de25b6af942b5e7ac83bca8aa3cf1e5ce /xmake/modules/detect/tools/find_vsjitdebugger.lua
parent34e395ad9281d17382b1d1c5a4e7828a259720f0 (diff)
rename some pathes to paths
Diffstat (limited to 'xmake/modules/detect/tools/find_vsjitdebugger.lua')
-rw-r--r--xmake/modules/detect/tools/find_vsjitdebugger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_vsjitdebugger.lua b/xmake/modules/detect/tools/find_vsjitdebugger.lua
index 2025557e0..aaf7fcf9d 100644
--- a/xmake/modules/detect/tools/find_vsjitdebugger.lua
+++ b/xmake/modules/detect/tools/find_vsjitdebugger.lua
@@ -45,7 +45,7 @@ function main(opt)
-- init options
opt = opt or {}
- opt.pathes = opt.pathes or function ()
+ opt.paths = opt.paths or function ()
for _, reg in ipairs({"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug;Debugger", "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug;Debugger"}) do
return (val("reg " .. reg) or ""):match("\"(.-)\"")
end