Skip to content

Commit 2ac7b73

Browse files
authored
Update TestRunner.cs
1 parent 5138418 commit 2ac7b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public async Task<bool> InstallAspNetAppIfNeededAsync()
102102
EnvironmentVariables.Add("ASPNET_RUNTIME_PATH", appRuntimePath);
103103
foreach (var file in Directory.EnumerateFiles("Microsoft.AspNetCore.App", "*.*", SearchOption.AllDirectories))
104104
{
105-
File.Copy(file, Path.Combine(appRuntimePath, file), overwrite: true);
105+
File.Copy(file, Path.Combine(appRuntimePath, Path.GetFileName(file), overwrite: true);
106106
}
107107

108108
Console.WriteLine($"Adding current directory to nuget sources: {Options.HELIX_WORKITEM_ROOT}");

0 commit comments

Comments
 (0)