We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54282d5 commit d288f84Copy full SHA for d288f84
src/ProgressOnderwijsUtils/ApprovalTest.cs
@@ -11,7 +11,7 @@ static string ToApprovalPath(SourceLocation sourceLocation)
11
{
12
var filename = Path.GetFileNameWithoutExtension(sourceLocation.FilePath);
13
var filedir = Path.GetDirectoryName(sourceLocation.FilePath);
14
- var approvalPath = $"{filedir}\\{filename}.{sourceLocation.MemberName}.approved.txt";
+ var approvalPath = Path.Combine(filedir.AssertNotNull(), $"{filename}.{sourceLocation.MemberName}.approved.txt");
15
return approvalPath;
16
}
17
0 commit comments