1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2026-08-17 19:04:46 +02:00
commit b1b4ac3ce9
6 changed files with 15 additions and 23 deletions

View file

@ -57,10 +57,10 @@ pub async fn run_script(
.dont_create(),
);
let cloud = setup(docker, options, &config).await?;
let cloud = setup(docker, options, config).await?;
cloud
.exec(
&docker,
docker,
vec![shell.to_string(), target_path.into_string()],
true,
get_forward_env(),
@ -68,7 +68,7 @@ pub async fn run_script(
.await?;
if mode == ScriptMode::Shell {
cloud.destroy(&docker, &config).await?;
cloud.destroy(docker, config).await?;
}
Ok(())