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:
Michael Bolin authored and GitHub committed 2025-06-25 12:26:13 -07:00
1 parent e09691337d
commit 72082164c1
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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;
}
}