Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Oct 14, 2021
1 parent cdb2213 commit c38be0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debugger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for _, vscodePath in ipairs {'.vscode', '.vscode-insiders', '.vscode-server-insi
log.debug('Search extensions at:', extensionPath:string())

if fs.exists(extensionPath) then
for path in extensionPath:list_directory() do
for path in fs.pairs(extensionPath) do
if fs.is_directory(path) then
local name = path:filename():string()
if name:find('actboy168.lua-debug-', 1, true) then
Expand Down

0 comments on commit c38be0c

Please sign in to comment.