mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-05 10:18:05 +09: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
@ -8,7 +8,7 @@
|
||||
|
||||
NAN_METHOD(extractPublic)
|
||||
{
|
||||
const auto sourceString = info[0]->ToString();
|
||||
const auto sourceString = info[0]->ToString(Nan::GetCurrentContext()).ToLocalChecked();
|
||||
if (!sourceString->IsOneByte()) {
|
||||
Nan::ThrowError("Malformed character found");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user