Clippy fixes from rust 1.91 nightly (#1267)

This commit is contained in:
Ehren Bendler
2025-08-13 11:01:25 -04:00
committed by GitHub
parent 9472aaca7a
commit a033152c60
3 changed files with 3 additions and 3 deletions

View File

@@ -896,7 +896,7 @@ pub fn run_composer_update(ctx: &ExecutionContext) -> Result<()> {
let composer_home = Command::new(&composer)
.args(["global", "config", "--absolute", "--quiet", "home"])
.output_checked_utf8()
.map_err(|e| (SkipStep(t!("Error getting the composer directory: {error}", error = e).to_string())))
.map_err(|e| SkipStep(t!("Error getting the composer directory: {error}", error = e).to_string()))
.map(|s| PathBuf::from(s.stdout.trim()))?
.require()?;