Skip to content

Commit 5b9d556

Browse files
authored
Fixing path combine in file listing (#269)
1 parent a2a6190 commit 5b9d556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/TestAdapter/Discover.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private static string[] GetAllCsFiles(FileInfo[] nfprojFiles)
222222

223223
foreach (System.Text.RegularExpressions.Match compileItem in compileItems)
224224
{
225-
allCsFiles.Add($"{Path.GetFullPath(nfproj.DirectoryName)}\\{compileItem.Groups["source_file"].Value}");
225+
allCsFiles.Add($"{Path.Combine(Path.GetFullPath(nfproj.DirectoryName), compileItem.Groups["source_file"].Value)}");
226226
}
227227
}
228228

0 commit comments

Comments
 (0)