Skip to content

Commit ec3bf60

Browse files
committed
fix debugger still using the old api paths
1 parent 6793a99 commit ec3bf60

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lua/defold/service/debugger.lua

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@ function M.register_nvim_dap(editor_port_fn)
7272
end,
7373

7474
sourcedirs = function()
75-
local libs = { project.defold_api_path() }
76-
77-
for _, lib in ipairs(project.dependency_api_paths()) do
78-
table.insert(libs, lib)
79-
end
80-
81-
return libs
75+
return project.dependency_api_paths()
8276
end,
8377

8478
-- TODO: make this configurable or better read it from the collection if possible

0 commit comments

Comments
 (0)