Skip to content

Commit 0cc58a2

Browse files
committed
Switch to Path.Combine since join is not supported on framework
1 parent f3ad3e7 commit 0cc58a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/HelixTasks/SDKCustomCreateXUnitWorkItemsWithTestExclusion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private async Task<List<ITaskItem>> PrepareWorkItem(ITaskItem xunitProject)
149149
foreach (var assemblyPartitionInfo in assemblyPartitionInfos)
150150
{
151151
string command;
152-
string logFileLocation = Path.Join(Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT"),"dotnetTestLog.log");
152+
string logFileLocation = Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT"),"dotnetTestLog.log");
153153

154154
var testFilter = string.IsNullOrEmpty(assemblyPartitionInfo.ClassListArgumentString) ? "" : $"--filter \"{assemblyPartitionInfo.ClassListArgumentString}\"";
155155
command = $"{driver} test {assemblyName} -e HELIX_WORK_ITEM_TIMEOUT={timeout} {testExecutionDirectory} {msbuildAdditionalSdkResolverFolder} " +

0 commit comments

Comments
 (0)