File tree Expand file tree Collapse file tree 2 files changed +126
-354
lines changed Expand file tree Collapse file tree 2 files changed +126
-354
lines changed Original file line number Diff line number Diff line change @@ -265,25 +265,12 @@ export async function downloadAndInstallArchive(
265265 if ( ! archiveExtension ) {
266266 Logger . error (
267267 LoggerSource . downloader ,
268- `Could not determine archive extension for ${ url } `
268+ `Could not determine archive extension for ${ archiveFileName } `
269269 ) ;
270270
271271 return false ;
272272 }
273273
274- // TODO: find and eliminate issue why this is necesarry
275- if ( archiveExtension . length > 6 ) {
276- archiveExtension = getArchiveExtension ( archiveFileName ) ;
277- if ( ! archiveExtension ) {
278- Logger . error (
279- LoggerSource . downloader ,
280- `Could not determine archive extension for ${ archiveFileName } `
281- ) ;
282-
283- return false ;
284- }
285- }
286-
287274 const tmpBasePath = join ( tmpdir ( ) , "pico-sdk" ) ;
288275 await mkdir ( tmpBasePath , { recursive : true } ) ;
289276 const archiveFilePath = join ( tmpBasePath , archiveFileName ) ;
You can’t perform that action at this time.
0 commit comments