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

Commit 0b6e7a2

Browse files
authored
update signature for Init to align with best practices (#7)
1 parent 1467049 commit 0b6e7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void SpawnAsAdmin(const Nan::FunctionCallbackInfo<Value>& info) {
8181
}
8282
}
8383

84-
void Init(Handle<Object> exports) {
84+
void Init(v8::Local<v8::Object> exports) {
8585
Nan::SetMethod(exports, "getAuthorizationForm", GetAuthorizationForm);
8686
Nan::SetMethod(exports, "clearAuthorizationCache", ClearAuthorizationCache);
8787
Nan::SetMethod(exports, "spawnAsAdmin", SpawnAsAdmin);

0 commit comments

Comments
 (0)