Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
update signature for Init to align with best practices (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey authored Apr 9, 2019
1 parent 1467049 commit 0b6e7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void SpawnAsAdmin(const Nan::FunctionCallbackInfo<Value>& info) {
}
}

void Init(Handle<Object> exports) {
void Init(v8::Local<v8::Object> exports) {
Nan::SetMethod(exports, "getAuthorizationForm", GetAuthorizationForm);
Nan::SetMethod(exports, "clearAuthorizationCache", ClearAuthorizationCache);
Nan::SetMethod(exports, "spawnAsAdmin", SpawnAsAdmin);
Expand Down

0 comments on commit 0b6e7a2

Please sign in to comment.