Fix tarball uri generation
This commit is contained in:
@@ -76,11 +76,6 @@ pub fn assemble_flake_tarball_uri(flake_source: &FlakeSource) -> Result<String>
|
|||||||
out.push_str(&flake_source.url.clone()
|
out.push_str(&flake_source.url.clone()
|
||||||
.context("Flake tarball uri does not contain an url")?);
|
.context("Flake tarball uri does not contain an url")?);
|
||||||
|
|
||||||
if let Some(rev) = &flake_source.rev {
|
|
||||||
out.push_str("?rev=");
|
|
||||||
out.push_str(rev);
|
|
||||||
}
|
|
||||||
|
|
||||||
Ok(out)
|
Ok(out)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user