File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -223,13 +223,12 @@ private static string GetArch(string[] variableParts)
223223 private async Task < string ? > GetDotNetBinaryStorageChecksumsShaAsync ( string productDownloadUrl )
224224 {
225225 string ? sha = null ;
226- string shaExt = _options . IsInternal || ! _productName . Contains ( "sdk" , StringComparison . OrdinalIgnoreCase ) ? ".sha512" : ".sha" ;
227226
228227 string shaUrl = productDownloadUrl
229228 . Replace ( "/dotnetcli" , "/dotnetclichecksums" )
230229 . Replace ( "/internal/" , "/internal-checksums/" )
231230 . Replace ( "/public/" , "/public-checksums/" )
232- + shaExt ;
231+ + ".sha512" ;
233232
234233 Trace . TraceInformation ( $ "Downloading '{ shaUrl } '.") ;
235234 using ( HttpResponseMessage response = await s_httpClient . GetAsync ( shaUrl ) )
You can’t perform that action at this time.
0 commit comments