Skip to content

Commit 666f9be

Browse files
committed
Fix cargo build --features consistency_check and test it in CI
1 parent 97e5938 commit 666f9be

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,4 @@ jobs:
152152
- uses: actions-rs/cargo@v1
153153
with:
154154
command: clippy
155-
args: --all-targets --workspace --locked -- -D warnings
155+
args: --all-features --all-targets --workspace --locked -- -D warnings

src/index/crates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ impl Crates {
4141
}
4242
})?;
4343

44-
Ok(result?)
44+
result
4545
}
4646
}

src/utils/consistency/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use self::diff::{Diff, Diffable};
22
use crate::Index;
3+
use anyhow::Context;
34

45
mod data;
56
mod db;

0 commit comments

Comments
 (0)