Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions guards/github-guard/rust-guard/src/labels/response_paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@ pub fn label_response_paths(

// === File Contents - repo-scoped secrecy ===
"get_file_contents" => {
let (_arg_owner, _arg_repo, arg_repo_full) = extract_repo_info(tool_args);
let (arg_owner, arg_repo, _) = extract_repo_info(tool_args);
let (arg_owner, arg_repo, arg_repo_full) = extract_repo_info(tool_args);
let secrecy = repo_visibility_secrecy(&arg_owner, &arg_repo, &arg_repo_full, ctx);
let branch_ref = tool_args.get("ref").and_then(|v| v.as_str()).unwrap_or("");
let file_integrity = if is_default_branch_ref(branch_ref) {
Expand Down
2 changes: 1 addition & 1 deletion guards/github-guard/rust-guard/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub fn invoke_backend(

/// Log levels matching the gateway's expectations
#[repr(u32)]
pub enum LogLevel {
enum LogLevel {
Debug = 0,
Info = 1,
Warn = 2,
Expand Down
Loading