Skip to content

Commit

Permalink
Update dotnet.cake
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis committed Mar 21, 2024
1 parent 9ff4638 commit 3d94a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/cake/dotnet.cake
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ void RunTestWithLocalDotNet(string csproj, string config, string pathDotnet = nu
var logDirectory = GetLogDirectory();

if(localDotnet)
SetDotNetEnvironmentVariables(pathDotnet);
SetDotNetEnvironmentVariables(System.IO.Path.GetDirectoryName(pathDotnet));

if (string.IsNullOrWhiteSpace(resultsFileNameWithoutExtension))
{
Expand Down

0 comments on commit 3d94a6d

Please sign in to comment.