Skip to content

Commit 97c760b

Browse files
tverneyrli
andauthored
Update plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt
Co-authored-by: Richard Li <[email protected]>
1 parent 1e96798 commit 97c760b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevControllerExtensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private suspend fun FeatureDevController.disposeToken(
200200
message =
201201
message(
202202
"amazonqFeatureDev.code_generation.stopped_code_generation",
203-
remainingIterations ?: state.currentIteration?.let { CODE_GENERATION_RETRY_LIMIT.minus(it) } as Any,
203+
remainingIterations ?: state.currentIteration?.let { CODE_GENERATION_RETRY_LIMIT - it } as Any,
204204
totalIterations ?: CODE_GENERATION_RETRY_LIMIT,
205205
),
206206
)

0 commit comments

Comments
 (0)