[codex] Make AbsolutePathBuf joins infallible (#16981)

Having to check for errors every time join is called is painful and
unnecessary.
This commit is contained in:
pakrym-oai authored and GitHub committed 2026-04-07 10:52:08 -07:00
1 parent 0b9e42f6f7
commit f1a2b920f9
40 files changed
+361 -315

No files matched your search

+2 -2
View File
@@ -173,8 +173,8 @@ fn transform_additional_permissions_preserves_denied_entries() {
canonicalize(temp_dir.path()).expect("canonicalize temp dir"),
)
.expect("absolute temp dir");
let allowed_path = workspace_root.join("allowed").expect("allowed path");
let denied_path = workspace_root.join("denied").expect("denied path");
let allowed_path = workspace_root.join("allowed");
let denied_path = workspace_root.join("denied");
let exec_request = manager
.transform(SandboxTransformRequest {
command: SandboxCommand {