fix refactor pt 2
This commit is contained in:
parent
97ee0a6eca
commit
6ade3bdbd9
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ return {
|
|||
request = 'launch',
|
||||
program = function()
|
||||
local utils = require 'custom.utils'
|
||||
local co = utils.pick_executable '${workspaceFolder}/build'
|
||||
local cwd = vim.fn.getcwd()
|
||||
local co = utils.pick_executable(cwd .. '/build')
|
||||
local ok, result = coroutine.resume(co)
|
||||
return ok and result or nil
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue