Skip to content

Conversation

@mems
Copy link

@mems mems commented Mar 26, 2018

Error happen when you provide a number as custom key:

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, TypedArray, or DataView
    at Hash.update (internal/crypto/hash.js:53:11)
    at ...

To fix that, just force key parts to be a String

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.543% when pulling 0716956 on mems:patch-1 into bc48c35 on AdamPflug:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants