Skip to content

Commit

Permalink
Use upper case while printing ignored substrings in hex for consisten…
Browse files Browse the repository at this point in the history
…cy with the hex dump.
  • Loading branch information
plusvic committed Jul 24, 2018
1 parent 40074dd commit f1649d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func getIgnoredSubstrings(meta map[string]interface{}) []string {
for i := range ss {
s := ii[i].(string)
h, _ := hex.DecodeString(s)
ss[i] = fmt.Sprintf("{% x} %q", h, h)
ss[i] = fmt.Sprintf("{% X} %q", h, h)
}
return ss
}
Expand Down

0 comments on commit f1649d6

Please sign in to comment.