Skip to content

Commit 9a15529

Browse files
authored
Merge pull request #163 from backbay-labs/fix/clippy-release-gate
fix(clippy): suppress expect_used in test module and too_many_arguments
2 parents 77d4222 + ad78740 commit 9a15529

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/agent/src-tauri/src/policy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ fn normalize_policy_check_input(mut input: PolicyCheckInput) -> PolicyCheckInput
7373
input
7474
}
7575

76+
#[allow(clippy::too_many_arguments)]
7677
async fn enqueue_offline_audit_event(
7778
audit_queue: Option<&Arc<crate::daemon::AuditQueue>>,
7879
action_type: &str,

crates/libs/clawdstrike-policy-event/src/decision.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub(crate) fn severity_from_value(value: &serde_json::Value) -> Option<String> {
2222
}
2323

2424
#[cfg(test)]
25+
#[allow(clippy::expect_used)]
2526
mod tests {
2627
use super::*;
2728
use serde_json::json;

0 commit comments

Comments
 (0)