Clippy
Some checks failed
CI / Typos (pull_request) Successful in 12s
CI / Clippy (pull_request) Successful in 59s
CI / Build and test (pull_request) Successful in 1m17s
CI / Check version (pull_request) Failing after 4s

This commit is contained in:
2025-07-13 17:20:09 +00:00
parent cd7d5008dc
commit b3d7b5274b
7 changed files with 120 additions and 10 deletions

View File

@ -34,7 +34,7 @@ impl PickTool for ToolBash {
debug!("Running `before` script");
let mut temp_file =
tempfile::NamedTempFile::new().context("while creating temporary script")?;
writeln!(temp_file, "{}", script).context("while creating temporary script")?;
writeln!(temp_file, "{script}").context("while creating temporary script")?;
temp_file
}
};
@ -82,7 +82,7 @@ impl PickTool for ToolBash {
debug!("Running `after` script");
let mut temp_file =
tempfile::NamedTempFile::new().context("while creating temporary script")?;
writeln!(temp_file, "{}", script).context("while creating temporary script")?;
writeln!(temp_file, "{script}").context("while creating temporary script")?;
temp_file
}
};
@ -131,7 +131,7 @@ impl PickTool for ToolBash {
trace!("Running script for {}: {}", ctx.path_rel_str, ctx.task);
let mut temp_file =
tempfile::NamedTempFile::new().context("while creating temporary script")?;
writeln!(temp_file, "{}", script).context("while creating temporary script")?;
writeln!(temp_file, "{script}").context("while creating temporary script")?;
temp_file
}
};