Skip to content

Commit 589bc7e

Browse files
committed
Print output of consistency check to stdout, not stderr
This allows redirecting the output to a file without also redirecting logging.
1 parent de30fde commit 589bc7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/consistency/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ pub fn run_check(
3737
match release {
3838
Diff::Both(_, _) => {}
3939
Diff::Left(version, _) => {
40-
log::info!("Release in db not in index: {} {}", name, version);
40+
println!("Release in db not in index: {} {}", name, version);
4141
}
4242
Diff::Right(version, _) => {
43-
log::info!("Release in index not in db: {} {}", name, version);
43+
println!("Release in index not in db: {} {}", name, version);
4444
}
4545
}
4646
}
4747
}
4848
Diff::Left(name, _) => {
49-
log::info!("Crate in db not in index: {}", name);
49+
println!("Crate in db not in index: {}", name);
5050
}
5151
Diff::Right(name, _) => {
52-
log::info!("Crate in index not in db: {}", name);
52+
println!("Crate in index not in db: {}", name);
5353
}
5454
}
5555
}

0 commit comments

Comments
 (0)