fix(ci): satisfy rustfmt on deny-read enforcement

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-03-27 08:42:52 -07:00
co-authored by Codex noreply@openai.com
parent 75e76eb178
commit 6d79141a94
@@ -94,7 +94,11 @@ impl ToolHandler for ViewImageHandler {
AbsolutePathBuf::try_from(turn.resolve_path(Some(args.path))).map_err(|error| {
FunctionCallError::RespondToModel(format!("unable to resolve image path: {error}"))
})?;
ensure_read_allowed(abs_path.as_path(), &turn.file_system_sandbox_policy, &turn.cwd)?;
ensure_read_allowed(
abs_path.as_path(),
&turn.file_system_sandbox_policy,
&turn.cwd,
)?;
let metadata = turn
.environment