Fix CI
This commit is contained in:
parent
f48b78cf20
commit
d68ec8a60f
|
@ -18,9 +18,3 @@ matrix:
|
||||||
install:
|
install:
|
||||||
- cd test
|
- cd test
|
||||||
- npm ci
|
- npm ci
|
||||||
- cd ..
|
|
||||||
|
|
||||||
script:
|
|
||||||
- cd test
|
|
||||||
- npm test
|
|
||||||
- ./build/Release/test
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#define JS_NULL env.Null()
|
#define JS_NULL env.Null()
|
||||||
#define JS_STR(VAL) Napi::String::New(env, VAL)
|
#define JS_STR(VAL) Napi::String::New(env, VAL)
|
||||||
#define JS_NUM(VAL) Napi::Number::New(env, static_cast<double>(VAL))
|
#define JS_NUM(VAL) Napi::Number::New(env, static_cast<double>(VAL))
|
||||||
#define JS_EXT(VAL) Napi::External<void>::New(env, reinterpret_cast<void*>(VAL))
|
#define JS_EXT(VAL) Napi::External<void>::New(env, (void*)(VAL))
|
||||||
#define JS_BOOL(VAL) Napi::Boolean::New(env, static_cast<bool>(VAL))
|
#define JS_BOOL(VAL) Napi::Boolean::New(env, static_cast<bool>(VAL))
|
||||||
#define JS_OBJECT Napi::Object::New(env)
|
#define JS_OBJECT Napi::Object::New(env)
|
||||||
#define JS_ARRAY Napi::Array::New(env)
|
#define JS_ARRAY Napi::Array::New(env)
|
||||||
|
|
Loading…
Reference in New Issue