Fix clippy lints.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user