Skip to content

Commit c3aeed1

Browse files
committed
Update ProcessEx.cs
1 parent 0ffca7e commit c3aeed1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ProjectTemplates/test/Helpers/ProcessEx.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, s
100100
}
101101

102102
startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES;
103+
104+
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix"))
105+
{
106+
startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
107+
}
103108

104109
output.WriteLine($"==> {startInfo.FileName} {startInfo.Arguments} [{startInfo.WorkingDirectory}]");
105110
var proc = Process.Start(startInfo);

0 commit comments

Comments
 (0)