Fix extract_tar_based_stream: Normalize path before adding them to ExtractedFiles (#901)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-03-13 21:27:50 +11:00 committed by GitHub
parent e89b8e2463
commit 89a47cbec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View file

@ -202,6 +202,8 @@ async fn download_extract_and_verify(
// If that fails, then ignore this fetcher.
let extracted_files = fetcher.fetch_and_extract(bin_path).await?;
debug!("extracted_files = {extracted_files:#?}");
// Build final metadata
let meta = fetcher.target_meta();