Skip to content

Commit

Permalink
fixup! feat(iaviewer): Quote key components that could be misinterpre…
Browse files Browse the repository at this point in the history
…ted (as e.g. hexadecimal)
  • Loading branch information
gibson042 committed Jun 28, 2024
1 parent 54c925b commit b891ecd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/iaviewer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,6 @@ func nodeEncoder(id []byte, depth int, isLeaf bool) string {
if isLeaf {
prefix = fmt.Sprintf("*%d ", depth)
}
if len(id) == 0 {
return fmt.Sprintf("%s<nil>", prefix)
}
return fmt.Sprintf("%s%s", prefix, parseWeaveKey(id))
}

Expand Down

0 comments on commit b891ecd

Please sign in to comment.