mirror of
https://github.com/openai/codex.git
synced 2026-11-24 07:20:27 +00:00
chore: rename AskForApproval::UnlessAllowListed to AskForApproval::UnlessTrusted (#1385)
We could just rename to `Untrusted` instead of `UnlessTrusted`, but I think `AskForApproval::UnlessTrusted` reads a bit better.
This commit is contained in:
1 parent
e09691337d
commit
72082164c1
5 files changed
+5
-5
No files matched your search
@@ -36,7 +36,7 @@ pub fn assess_patch_safety(
|
||||
}
|
||||
// TODO(ragona): I'm not sure this is actually correct? I believe in this case
|
||||
// we want to continue to the writable paths check before asking the user.
|
||||
AskForApproval::UnlessAllowListed => {
|
||||
AskForApproval::UnlessTrusted => {
|
||||
return SafetyCheck::AskUser;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user