Skip to content

Commit ed18a2a

Browse files
dhasani23David Hasani
andauthored
fix(amazonq): only show lines of code (#5830)
Co-authored-by: David Hasani <[email protected]>
1 parent 3a24655 commit ed18a2a

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/plan

1 file changed

+1
-1
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/plan/CodeModernizerPlanEditor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ class CodeModernizerPlanEditor(val project: Project, private val virtualFile: Vi
490490
JPanel().apply {
491491
layout = BoxLayout(this, BoxLayout.Y_AXIS)
492492
jobStatistics.forEach { stat ->
493-
if (!stat.name.isNullOrEmpty() && !stat.value.isNullOrEmpty()) {
493+
if (!stat.name.isNullOrEmpty() && !stat.value.isNullOrEmpty() && stat.name == "linesOfCode") {
494494
val formattedStatName = getFormattedString(stat.name)
495495
add(
496496
JLabel(

0 commit comments

Comments
 (0)