File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments