Skip to content

Commit 0dfb64c

Browse files
committed
Show building package log message after skip
1 parent f6c2556 commit 0dfb64c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/docbuilder/chroot_builder.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,16 @@ impl DocBuilder {
4747

4848
/// Builds package documentation in chroot environment and adds into cratesfyi database
4949
pub fn build_package(&mut self, name: &str, version: &str) -> Result<bool> {
50-
info!("Building package {}-{}", name, version);
51-
5250
// Skip crates according to options
5351
if (self.options.skip_if_log_exists &&
5452
self.cache.contains(&format!("{}-{}", name, version)[..])) ||
5553
(self.options.skip_if_exists &&
5654
self.db_cache.contains(&format!("{}-{}", name, version)[..])) {
57-
info!("Skipping");
5855
return Ok(false);
5956
}
6057

58+
info!("Building package {}-{}", name, version);
59+
6160

6261
// Database connection
6362
let conn = try!(connect_db());

0 commit comments

Comments
 (0)