Skip to content

Commit 60c1776

Browse files
authored
fix: don't print empty args on detailed verbosity (#2799)
## Description Before: <img width="913" height="278" alt="Screenshot 2025-08-27 at 9 35 24 AM" src="https://github.com/user-attachments/assets/4e0e026f-58ab-4980-8bd7-85dcc3af0f9d" /> After: <img width="906" height="183" alt="Screenshot 2025-08-27 at 9 34 41 AM" src="https://github.com/user-attachments/assets/3ffaaef1-00ec-4bcc-bf8f-103b13c145a5" />
1 parent 5657e20 commit 60c1776

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/cli/helpers/output_printers/kurtosis_instruction_printer.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ func formatInstructionToReadableString(instruction *kurtosis_core_rpc_api_bindin
224224
} else {
225225
serializedArg = arg.GetSerializedArgValue()
226226
}
227-
serializedInstructionComponents = append(serializedInstructionComponents, serializedArg)
227+
if serializedArg != "" {
228+
serializedInstructionComponents = append(serializedInstructionComponents, serializedArg)
229+
}
228230
}
229231
}
230232

0 commit comments

Comments
 (0)