Skip to content

Commit 0efd99a

Browse files
authored
fix: incorrect assert condition (#1294)
1 parent 31a2853 commit 0efd99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/cocoindex/src/execution/indexing_status.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ impl SourceLogicFingerprint {
1919
) -> Result<Self> {
2020
let import_op = &exec_plan.import_ops[source_idx];
2121
let mut fp = Fingerprinter::default();
22-
if exec_plan.import_ops.len() != export_exec_ctx.len() {
23-
bail!("Import op count does not match export op count");
22+
if exec_plan.export_ops.len() != export_exec_ctx.len() {
23+
bail!("`export_ops` count does not match `export_exec_ctx` count");
2424
}
2525
for (export_op, export_op_exec_ctx) in
2626
std::iter::zip(exec_plan.export_ops.iter(), export_exec_ctx.iter())

0 commit comments

Comments
 (0)