Skip to content

Commit f1649d6

Browse files
committed
Use upper case while printing ignored substrings in hex for consistency with the hex dump.
1 parent 40074dd commit f1649d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func getIgnoredSubstrings(meta map[string]interface{}) []string {
157157
for i := range ss {
158158
s := ii[i].(string)
159159
h, _ := hex.DecodeString(s)
160-
ss[i] = fmt.Sprintf("{% x} %q", h, h)
160+
ss[i] = fmt.Sprintf("{% X} %q", h, h)
161161
}
162162
return ss
163163
}

0 commit comments

Comments
 (0)