We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da17547 + 2e0517e commit 4711a3aCopy full SHA for 4711a3a
src/runtime/bindle.rs
@@ -402,7 +402,7 @@ pub async fn invoice_to_modules(
402
let purl = parcel_url(&bindle_id, member.label.sha256.clone());
403
trace!(parcel = %purl, "converting a parcel to an asset");
404
let puri = purl.parse().unwrap();
405
- let cached_path = cache_parcel_asset(
+ cache_parcel_asset(
406
&bindler,
407
&puri,
408
asset_cache.clone(),
@@ -422,7 +422,7 @@ pub async fn invoice_to_modules(
422
if def.volumes.is_none() {
423
let mut volumes = HashMap::new();
424
volumes
425
- .insert("/".to_owned(), cached_path.to_str().unwrap().to_owned());
+ .insert("/".to_owned(), asset_cache.to_str().unwrap().to_owned());
426
def.volumes = Some(volumes);
427
}
428
trace!("Done with conversion");
0 commit comments