Fix string check

This commit is contained in:
Luis Blanco 2019-09-08 19:10:28 +03:00
parent a05692ebb2
commit ff5baa1e0a
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@
Napi::Object VAR = info.This().As<Napi::Object>();
#define SETTER_STR_ARG \
SETTER_CHECK(IsNumber(), "String"); \
SETTER_CHECK(IsString(), "String"); \
std::string v = value.ToString().Utf8Value();
#define SETTER_INT32_ARG \