mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
clippy fixes
This commit is contained in:
parent
125b68e08a
commit
b1b4ac3ce9
6 changed files with 15 additions and 23 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue