Skip to content

Commit c36fa49

Browse files
committed
fmt
1 parent 332aa05 commit c36fa49

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

crates/cli/src/query.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ pub async fn query(
6666
vec![project]
6767
}
6868
Err(e) => {
69-
if silent { std::process::exit(1); }
69+
if silent {
70+
std::process::exit(1);
71+
}
7072
println!("{}", e);
7173
fail = true;
7274
continue;
@@ -75,7 +77,9 @@ pub async fn query(
7577
Pkgspec::Latest(name) => match resolve_project(name, conn) {
7678
Ok(project) => vec![project],
7779
Err(e) => {
78-
if silent { std::process::exit(1); }
80+
if silent {
81+
std::process::exit(1);
82+
}
7983
println!("{}", e);
8084
fail = true;
8185
continue;
@@ -100,7 +104,10 @@ pub async fn query(
100104
if silent {
101105
std::process::exit(1);
102106
}
103-
println!("no versions matching {} found for {}", req.constraint.raw, projects[0]);
107+
println!(
108+
"no versions matching {} found for {}",
109+
req.constraint.raw, projects[0]
110+
);
104111
fail = true;
105112
continue;
106113
}

0 commit comments

Comments
 (0)