Skip to content

Commit

Permalink
Updates for windows clippy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Feb 28, 2024
1 parent b039029 commit adb0c31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/soroban-cli/src/commands/network/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use core::fmt;

use bollard::{ClientVersion, Docker};
use clap::ValueEnum;
#[allow(unused_imports)]
// Need to add this for windows, since we are only using this crate for the unix fn try_docker_desktop_socket
use home::home_dir;

pub const DOCKER_HOST_HELP: &str = "Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to $HOME/.docker/run/docker.sock instead of /var/run/docker.sock";
Expand Down Expand Up @@ -101,7 +103,7 @@ pub async fn connect_to_docker(docker_host: &Option<String>) -> Result<Docker, E

#[cfg(windows)]
{
Err(_e)?;
Err(_e)?
}
}
}
Expand Down

0 comments on commit adb0c31

Please sign in to comment.