Skip to content

Commit a53de3f

Browse files
committed
Increase count on package build
1 parent 851af2f commit a53de3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docbuilder/chroot_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ impl DocBuilder {
3232
crates(self.options.crates_io_index_path.clone(), |name, version| {
3333
match self.build_package(name, version) {
3434
Ok(status) => {
35+
count += 1;
3536
if status && count % 10 == 0 {
3637
let _ = self.save_cache();
3738
}
3839
},
3940
Err(err) => info!("Failed to build package {}-{}: {}", name, version, err)
4041
}
41-
4242
self.cache.insert(format!("{}-{}", name, version));
4343
count += 1;
4444
})

0 commit comments

Comments
 (0)