dap refactor, make some commands async-safe

This commit is contained in:
dlond 2025-05-26 03:41:15 +12:00
parent b54c7d6461
commit d5a3c86a85
2 changed files with 32 additions and 20 deletions

View file

@ -30,8 +30,6 @@ end
local function pick_executable(start_dir)
return async.wrap(function(_start_dir, on_choice)
print('pick_executable() was triggered with start_dir=' .. _start_dir)
local executables = collect_executables(_start_dir)
if #executables == 0 then