Skip to content
Snippets Groups Projects
Commit ed8f67eb authored by Éloïs's avatar Éloïs
Browse files

fix clippy warning

parent 19c8a946
No related branches found
No related tags found
1 merge request!16ci: deploy a docker debug image a each master commit
......@@ -41,8 +41,8 @@ impl Drop for Process {
}
pub async fn spawn_node() -> (Api, Client, Process) {
let duniter_binary_path =
std::env::var("DUNITER_BINARY_PATH").unwrap_or("../target/debug/duniter".to_owned());
let duniter_binary_path = std::env::var("DUNITER_BINARY_PATH")
.unwrap_or_else(|_| "../target/debug/duniter".to_owned());
let p2p_port = portpicker::pick_unused_port().expect("No ports free");
let rpc_port = portpicker::pick_unused_port().expect("No ports free");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment