mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-11-30 15:55:49 +08:00
chore: restore a green make check on main
- output.rs: the read_lints test helper (#398) builds ToolCall without the argument_error field added ind83e14a, so the lib-test target does not compile - connect_wire.rs: cursor::router takes NetworkClients since2dad593- runtime.rs: clippy::nonminimal_bool from5cdf642- update/mod.rs: clippy::needless_return in the Windows arm,ddaa61c
This commit is contained in:
1 parent
8fdcdd7f84
commit
e4b5e132d6
4 files changed
+8
-5
No files matched your search
@@ -172,9 +172,9 @@ impl ConversationRuntime {
|
||||
break;
|
||||
}
|
||||
TransportCommand::RunFinished { generation, finish } => {
|
||||
if !current
|
||||
if current
|
||||
.as_ref()
|
||||
.is_some_and(|current| current.id == generation)
|
||||
.is_none_or(|current| current.id != generation)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -459,6 +459,7 @@ mod tests {
|
||||
name: "ReadLints".into(),
|
||||
arguments_text: String::new(),
|
||||
arguments: json!({ "paths": paths }),
|
||||
argument_error: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user