chore: linting

This commit is contained in:
zhom
2025-07-28 02:11:31 +04:00
parent e1d600c072
commit 711b7a7a5e
15 changed files with 152 additions and 141 deletions
+3 -7
View File
@@ -29,14 +29,10 @@ impl NodeDownloader {
.resolve_version(version_spec, false)
.await
.context(format!(
"Failed to resolve Node.js version '{}'",
version_spec
"Failed to resolve Node.js version '{version_spec}'"
))?;
println!(
"Resolved '{}' to Node.js version {}",
version_spec, resolved_version
);
println!("Resolved '{version_spec}' to Node.js version {resolved_version}");
Ok(Self {
platform: Platform::current(),
@@ -236,7 +232,7 @@ impl NodeDownloader {
async fn extract_tar_gz(&self, archive_path: &Path, target_dir: &Path) -> Result<()> {
let output = tokio::process::Command::new("tar")
.args(&[
.args([
"-xzf",
archive_path.to_str().unwrap(),
"-C",