We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af4353 commit e3d0ef0Copy full SHA for e3d0ef0
src/package.rs
@@ -769,6 +769,15 @@ impl Package {
769
blob::download(progress, blob, &blob_path)
770
.await
771
.with_context(|| format!("failed to download blob: {}", blob.get_url()))?;
772
+
773
+ let src = &blob_path;
774
+ let dst = &path.to;
775
+ progress.set_message(format!("adding file: {}", src).into());
776
+ archive
777
+ .builder
778
+ .append_path_with_name_async(src, dst)
779
+ .await
780
+ .context(format!("Failed to add file '{}' to '{}'", src, dst,))?;
781
}
782
BuildInput::AddPackage(component_package) => {
783
progress.set_message(format!("adding package: {}", component_package.0).into());
0 commit comments