Skip to content

Commit 2761b8b

Browse files
waynebowie99pcius-waynebNsidorenco
authored
Windows paths have a space in them and line endings are \r\n (#2)
* Windows paths have a space in them and line endings are \r\n * formatting --------- Co-authored-by: Wayne Bowie <[email protected]> Co-authored-by: nsidorenco <[email protected]>
1 parent 198eb4f commit 2761b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neotest-vstest/dotnet_utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function M.parse_dotnet_info(input)
1616
return { sdk_path = nil }
1717
end
1818

19-
local match = input:match("Base Path:%s*(%S+[^\n]*)")
19+
local match = input:match("Base Path:%s*([^\r\n]+)")
2020
return { sdk_path = match and vim.trim(match) }
2121
end
2222

0 commit comments

Comments
 (0)