We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6d587 commit 6b57329Copy full SHA for 6b57329
1 file changed
lua/neotest-vstest/init.lua
@@ -514,8 +514,10 @@ local function create_adapter(config)
514
if position.type == "test" then
515
logger.debug(position)
516
local client = client_discovery.get_client_for_project(position.project, solution)
517
- local tests = projects[client] or {}
518
- projects[client] = vim.list_extend(tests, { position.id })
+ if client then
+ local tests = projects[client] or {}
519
+ projects[client] = vim.list_extend(tests, { position.id })
520
+ end
521
end
522
523
0 commit comments