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
2025-06-25 12:26:13 -07:00
committed by GitHub
parent e09691337d
commit 72082164c1
5 changed files with 5 additions and 5 deletions

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;
}
}