Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 7b82e64

Browse files
committed
fmt
1 parent eed04cd commit 7b82e64

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/misc.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub async fn install_dependencies(_install_path: &Path, force_reinstall: bool) {
9292
} else {
9393
crate::println_info!("Installing redistributables...");
9494
}
95-
95+
9696
if !is_program_in_path("winget") {
9797
crate::println_info!(
9898
"winget is not available. Unable to install redistributables automatically."
@@ -120,16 +120,14 @@ pub async fn install_dependencies(_install_path: &Path, force_reinstall: bool) {
120120
"--accept-package-agreements",
121121
"--accept-source-agreements",
122122
];
123-
123+
124124
if force_reinstall {
125125
args.push("--force");
126126
}
127-
128-
let result = std::process::Command::new("winget")
129-
.args(&args)
130-
.output();
131127

132-
match result {
128+
let result = std::process::Command::new("winget").args(&args).output();
129+
130+
match result {
133131
Ok(output) => {
134132
if output.status.success() {
135133
crate::println_info!("Successfully installed {}", package);

0 commit comments

Comments
 (0)