mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
fix: guard guardian_command_source_tool_name with cfg(unix) (#16498)
This currently contributing to `rust-ci-full.yml` being red on `main` for windows lint builds due to the cargo/bazel coverage gap that I'm working on. Hopefully this gets us back on track.
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