Clippy fixes from rust 1.91 nightly (#1267)
This commit is contained in:
@@ -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()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user