Skip to content

Commit

Permalink
fix(find): open with absolute path
Browse files Browse the repository at this point in the history
See #127
  • Loading branch information
rcarriga committed Oct 20, 2022
1 parent 7690967 commit 7e73ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest/lib/file/find.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function M.find(root, opts)
while dir_handle or #dirs_to_scan > 0 do
if not dir_handle then
dir = table.remove(dirs_to_scan, 1)
err, dir_handle = async_opendir(dir, max_entries)
err, dir_handle = async_opendir(root .. sep .. dir, max_entries)
assert(not err, err)
end

Expand Down

0 comments on commit 7e73ba5

Please sign in to comment.