Skip to content

Commit f2773ef

Browse files
committed
inlined needless shortened break config reference
1 parent ac690c2 commit f2773ef

File tree

1 file changed

+1
-2
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+1
-2
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,9 @@ object BreakManager : RequestHandler<BreakRequest>(
183183
private fun SafeContext.processRequest(request: BreakRequest) {
184184
pendingBreaks.cleanUp()
185185

186-
val breakConfig = request.build.breaking
187186
if (request.fresh) populateFrom(request)
188187

189-
if (!atMaxBreakInfos(breakConfig)) run processNewBreaks@ {
188+
if (!atMaxBreakInfos(request.build.breaking)) run processNewBreaks@ {
190189
if (!performInstantBreaks(request)) return@processNewBreaks
191190
processNewBreaks(request)
192191
}

0 commit comments

Comments
 (0)