mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
fix: guard guardian_command_source_tool_name with cfg(unix)
This commit is contained in:
@@ -160,6 +160,7 @@ fn command_assessment_action(
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn guardian_command_source_tool_name(source: GuardianCommandSource) -> &'static str {
|
||||
match source {
|
||||
GuardianCommandSource::Shell => "shell",
|
||||
|
||||
Reference in New Issue
Block a user