mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 05:17:39 -07:00
node-gypの警告を直す (#3906)
* Update crypto_key.cc * Update crypto_key.cc * Update crypto_key.cc
This commit is contained in:
parent
08e6bb122f
commit
e50775b31c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
NAN_METHOD(extractPublic)
|
NAN_METHOD(extractPublic)
|
||||||
{
|
{
|
||||||
const auto sourceString = info[0]->ToString();
|
const auto sourceString = info[0]->ToString(Nan::GetCurrentContext()).ToLocalChecked();
|
||||||
if (!sourceString->IsOneByte()) {
|
if (!sourceString->IsOneByte()) {
|
||||||
Nan::ThrowError("Malformed character found");
|
Nan::ThrowError("Malformed character found");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue