@@ -122,26 +122,30 @@ await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet",
122
122
$ "nuget add source { Options . HELIX_WORKITEM_ROOT } --configfile NuGet.config",
123
123
environmentVariables : EnvironmentVariables ,
124
124
outputDataReceived : Console . WriteLine ,
125
- errorDataReceived : Console . Error . WriteLine ) ;
125
+ errorDataReceived : Console . Error . WriteLine ,
126
+ throwOnError : false ) ;
126
127
127
128
await ProcessUtil . RunAsync ( $ "{ Options . DotnetRoot } /dotnet",
128
129
"nuget add source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json --configfile NuGet.config" ,
129
130
environmentVariables : EnvironmentVariables ,
130
131
outputDataReceived : Console . WriteLine ,
131
- errorDataReceived : Console . Error . WriteLine ) ;
132
+ errorDataReceived : Console . Error . WriteLine ,
133
+ throwOnError : false ) ;
132
134
133
135
// Write nuget sources to console, useful for debugging purposes
134
136
await ProcessUtil . RunAsync ( $ "{ Options . DotnetRoot } /dotnet",
135
137
"nuget list source" ,
136
138
environmentVariables : EnvironmentVariables ,
137
139
outputDataReceived : Console . WriteLine ,
138
- errorDataReceived : Console . Error . WriteLine ) ;
140
+ errorDataReceived : Console . Error . WriteLine ,
141
+ throwOnError : false ) ;
139
142
140
143
await ProcessUtil . RunAsync ( $ "{ Options . DotnetRoot } /dotnet",
141
144
$ "tool install dotnet-ef --version { Options . EfVersion } --tool-path { Options . HELIX_WORKITEM_ROOT } ",
142
145
environmentVariables : EnvironmentVariables ,
143
146
outputDataReceived : Console . WriteLine ,
144
- errorDataReceived : Console . Error . WriteLine ) ;
147
+ errorDataReceived : Console . Error . WriteLine ,
148
+ throwOnError : false ) ;
145
149
146
150
// ';' is the path separator on Windows, and ':' on Unix
147
151
Options . Path += RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) ? ";" : ":" ;
0 commit comments