dap refactor, make some commands async-safe
This commit is contained in:
parent
b54c7d6461
commit
d5a3c86a85
2 changed files with 32 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue