Skip to content

Commit

Permalink
Fix CI run fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sampson Gao committed Sep 15, 2017
1 parent cf0f4fa commit 90ef051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_constructor/test_constructor.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ napi_value Init(napi_env env, napi_value exports) {
};

napi_value cons;
NAPI_CALL_RETURN_VOID(env, napi_define_class(env, "MyObject", -1, New,
NAPI_CALL(env, napi_define_class(env, "MyObject", -1, New,
NULL, sizeof(properties)/sizeof(*properties), properties, &cons));

NAPI_CALL(env, napi_create_reference(env, cons, 1, &constructor_));
Expand Down

0 comments on commit 90ef051

Please sign in to comment.