Skip to content

Commit

Permalink
fix path detection on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nsidorenco committed Dec 7, 2024
1 parent 1e95b39 commit 649c7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neotest-dotnet/vstest_wrapper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ local function get_vstest_path()
logger.info(log_string)
else
local out = process.stdout.read()
local match = out and out:match("Base Path:%s*(%S+)")
local match = out and out:match("Base Path:%s*(%S+.*)")
if match then
M.sdk_path = match
M.sdk_path = vim.trim(match)
logger.info(string.format("detected sdk path: %s", M.sdk_path))
else
M.sdk_path = default_sdk_path
Expand Down

0 comments on commit 649c7a9

Please sign in to comment.