Skip to content

Commit 15d0514

Browse files
committed
refactor(auto-reply): drop vacuous abort returns
1 parent cae4048 commit 15d0514

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎src/auto-reply/reply/dispatch-from-config.execute.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@ export async function executeDispatch(state: PrepareDispatchExecutionReadyState)
338338
) {
339339
await state.onApprovalEventFromReplyOptions?.(payload);
340340
}
341-
if (isDispatchOperationAborted()) {
342-
return;
343-
}
344341
},
345342
onPatchSummary: async (payload) => {
346343
if (isDispatchOperationAborted()) {
@@ -362,9 +359,6 @@ export async function executeDispatch(state: PrepareDispatchExecutionReadyState)
362359
) {
363360
await state.onPatchSummaryFromReplyOptions?.(payload);
364361
}
365-
if (isDispatchOperationAborted()) {
366-
return;
367-
}
368362
},
369363
onBlockReply: (payload: ReplyPayload, context?: BlockReplyContext) => {
370364
markProgress();

0 commit comments

Comments
 (0)