mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-29 04:37:12 -07:00
fix(cli): resolve rebase omissions for wildcard UI and sandbox logic
This commit is contained in:
@@ -287,10 +287,7 @@ export class PolicyEngine {
|
||||
|
||||
// Do not downgrade (do not ask user) if sandboxing is enabled and in AUTO_EDIT
|
||||
const sandboxEnabled = !(this.sandboxManager instanceof NoopSandboxManager);
|
||||
if (
|
||||
sandboxEnabled &&
|
||||
this.approvalMode === ApprovalMode.AUTO_EDIT
|
||||
) {
|
||||
if (sandboxEnabled && this.approvalMode === ApprovalMode.AUTO_EDIT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user