Skip to content

Commit

Permalink
Remove unnecessary arg (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
verwaest committed Nov 8, 2023
1 parent 551d169 commit e2183d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js_native_api_v8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -928,8 +928,7 @@ napi_define_class(napi_env env,
tpl->PrototypeTemplate()->SetAccessorProperty(property_name,
getter_tpl,
setter_tpl,
attributes,
v8::AccessControl::DEFAULT);
attributes);
} else if (p->method != nullptr) {
v8::Local<v8::FunctionTemplate> t;
STATUS_CALL(v8impl::FunctionCallbackWrapper::NewTemplate(
Expand Down

0 comments on commit e2183d4

Please sign in to comment.