Fix clippy lints.

This commit is contained in:
Tom Alexander
2024-09-29 14:08:05 -04:00
parent ef195cd4df
commit cdac8224c6
7 changed files with 41 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ pub(crate) async fn run_pipelines(
name: Some("REPO_URL".to_owned()),
value: pipeline
.clone_uri
.map(|uri| serde_json::Value::String(uri))
.map(serde_json::Value::String)
.or_else(|| Some(serde_json::Value::String(hook_repo_url.into_owned()))),
});
param_list.push(PipelineParam {