refactor: drop empty command fallback
This commit is contained in:
@@ -46,8 +46,6 @@ def format_header(elapsed_s: float, turn: Optional[int], label: str) -> str:
|
|||||||
|
|
||||||
def format_command(command: str) -> str:
|
def format_command(command: str) -> str:
|
||||||
command = truncate(command, MAX_CMD_LEN)
|
command = truncate(command, MAX_CMD_LEN)
|
||||||
if not command:
|
|
||||||
command = "(empty)"
|
|
||||||
return f"`{command}`"
|
return f"`{command}`"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user