Skip to content

Commit

Permalink
Reference can be moved to body
Browse files Browse the repository at this point in the history
  • Loading branch information
715209 committed Jun 9, 2024
1 parent 0f5019a commit 4c4b69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/proxy/package/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub async fn run(request: Request<PackageRequest>) -> Result<Response<PackageRes
async fn prepare_source<P: AsRef<Path>>(
source_name: &str,
source_hash: &str,
source_tar: &P,
source_tar: P,
) -> Result<(i32, String), anyhow::Error> {
let data = read(source_tar).await?;
let data = read(&source_tar).await?;

let signature = notary::sign(&data).await?;

Expand Down

0 comments on commit 4c4b69b

Please sign in to comment.