chore: linting

This commit is contained in:
zhom
2025-08-10 00:35:13 +04:00
parent ddc845c049
commit 6cc27ec5b2
4 changed files with 69 additions and 33 deletions
+4 -5
View File
@@ -76,11 +76,10 @@ pub async fn bundle_project(
ProgressStyle::with_template("{prefix:.bold.dim} {spinner:.green} {wide_msg}")
.unwrap()
.tick_chars("/|\\- ");
let bar_style = ProgressStyle::with_template(
"{prefix:.bold.dim} {msg}[ {wide_bar} ] {pos}/{len}",
)
.unwrap()
.progress_chars("#>-");
let bar_style =
ProgressStyle::with_template("{prefix:.bold.dim} {msg}[ {wide_bar} ] {pos}/{len}")
.unwrap()
.progress_chars("#>-");
let emoji_prepare = Emoji("🔧", "");
let emoji_bundle = Emoji("📦", "");
+3 -5
View File
@@ -135,11 +135,9 @@ fn build_executable_with_progress(
if let Some(pb) = progress {
if known_total > 0 {
pb.set_style(
ProgressStyle::with_template(
"[ {wide_bar} ] {pos}/{len}",
)
.unwrap()
.progress_chars("#>-"),
ProgressStyle::with_template("[ {wide_bar} ] {pos}/{len}")
.unwrap()
.progress_chars("#>-"),
);
pb.set_length(known_total);
pb.set_position(0);
+3 -5
View File
@@ -205,11 +205,9 @@ impl NodeDownloader {
// Extract the archive with determinate progress
if let Some(pb) = progress {
pb.set_style(
ProgressStyle::with_template(
"[ {wide_bar} ] {pos}/{len}",
)
.unwrap()
.progress_chars("#>-"),
ProgressStyle::with_template("[ {wide_bar} ] {pos}/{len}")
.unwrap()
.progress_chars("#>-"),
);
pb.set_length(0);
pb.set_position(0);