Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
b-camacho authored and bcamacho2 committed Oct 24, 2023
1 parent abace6e commit 287372c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions go/cli/mcap/cmd/cat.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ func printMessages(
die("Failed to read next message: %s", err)
}
if !formatJSON {
schemaName := "no schema"
if schema != nil {
schemaName = schema.Name
}
schemaName := "no schema"
if schema != nil {
schemaName = schema.Name
}
if len(message.Data) > 10 {
fmt.Fprintf(w, "%d %s [%s] %v...\n", message.LogTime, channel.Topic, schemaName, message.Data[:10])
} else {
Expand Down

0 comments on commit 287372c

Please sign in to comment.