summaryrefslogtreecommitdiffstats
path: root/src/commands/find_artifact.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-08-12 16:45:43 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-08-12 17:00:20 +0200
commit80825bb43c7a4f188aa060b04513168978c1db0b (patch)
tree423662d6eedbb195c732643e99f6d5b8a2f6b5c4 /src/commands/find_artifact.rs
parentfdd75f7ae660441db47733bac200cea4a99ba4fe (diff)
Fix clippy: Remove needless borrows
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/commands/find_artifact.rs')
-rw-r--r--src/commands/find_artifact.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/find_artifact.rs b/src/commands/find_artifact.rs
index 19e8e2f..0fc9b8c 100644
--- a/src/commands/find_artifact.rs
+++ b/src/commands/find_artifact.rs
@@ -102,7 +102,7 @@ pub async fn find_artifact(matches: &ArgMatches, config: &Configuration, progres
.inspect(|pkg| trace!("Found package: {:?}", pkg))
.map(|pkg| {
let script_filter = !matches.is_present("no_script_filter");
- let pathes = crate::db::find_artifacts(database.clone(), config, &pkg, &release_stores, staging_store.as_ref(), &env_filter, script_filter)?;
+ let pathes = crate::db::find_artifacts(database.clone(), config, pkg, &release_stores, staging_store.as_ref(), &env_filter, script_filter)?;
pathes.iter()
.map(|tpl| (tpl.0.joined(), tpl.1))