fix: miss catching auto-edit (#99)
This commit is contained in:
parent
cdd8b67dcd
commit
090140da09
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ if (quietMode) {
|
|||
const approvalPolicy: ApprovalPolicy =
|
||||
cli.flags.fullAuto || cli.flags.approvalMode === "full-auto"
|
||||
? AutoApprovalMode.FULL_AUTO
|
||||
: cli.flags.autoEdit
|
||||
: cli.flags.autoEdit || cli.flags.approvalMode === "auto-edit"
|
||||
? AutoApprovalMode.AUTO_EDIT
|
||||
: AutoApprovalMode.SUGGEST;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue