Skip to content

Commit 93855a9

Browse files
authored
fix: return correct updated solution info (#29)
1 parent dd5122b commit 93855a9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lua/neotest-vstest/dotnet_utils.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,8 @@ function dotnet_utils.get_solution_info(solution_path)
326326
solution_discovery_semaphore.acquire()
327327

328328
if cached_solution then
329-
local updated_solution_info
330-
get_updated_solution_info(cached_solution)
331-
solution_cache[normalized_path] = updated_solution_info or cached_solution
329+
local updated_solution_info = get_updated_solution_info(cached_solution)
330+
solution_cache[normalized_path] = updated_solution_info
332331
solution_discovery_semaphore.release()
333332
return updated_solution_info
334333
end

0 commit comments

Comments
 (0)