Skip to content

Clarify Buffer hex string error message

Rodrigo Muino Tomonari requested to merge github/fork/jgeewax/patch-1 into master

Taking a clue from https://github.com/nodejs/node/blob/master/src/string_bytes.cc#L503, provide more reason for why a hex string is invalid (namely that the issue is the length being odd rather than even).

Merge request reports

Loading