Skip to content

Commit

Permalink
Enable module from workers
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhattendorf committed Sep 10, 2020
1 parent bf7b13f commit e4a9092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/templates/templates/nodegit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ NAN_MODULE_INIT(init) {
nodegit::LockMaster::InitializeContext();
}

NODE_MODULE(nodegit, init)
NAN_MODULE_WORKER_ENABLED(nodegit, init)

0 comments on commit e4a9092

Please sign in to comment.