1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 22:56:49 +09:00

node-gypの警告を直す (#3906)

* Update crypto_key.cc

* Update crypto_key.cc

* Update crypto_key.cc
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-18 21:01:31 +09:00 committed by GitHub
parent 5bd0695b0e
commit fa051df381
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;