Skip to content

Commit

Permalink
fix: update argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 authored Feb 2, 2024
1 parent ec94b71 commit 2b80302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub fn get_docker_version() -> Result<String> {
run_command("docker", ["--version"])
}

pub fn run_command<I, S>(prog: &str, args: Vec<&str>) -> Result<String>
pub fn run_command<I, S>(prog: &str, args: I) -> Result<String>
where
I: IntoIterator<Item = S>,
S: AsRef<OsStr>,
Expand Down

0 comments on commit 2b80302

Please sign in to comment.