Skip to content

Commit

Permalink
Use NAN_MODULE_WORKER_ENABLED to make module context aware
Browse files Browse the repository at this point in the history
All native modules used Electron be context-ware before when upgrading to Electron 14. electron/electron#18397. `git-utils` is still one of the module that isn't context-aware.

This commit uses NAN_MODULE_WORKER_ENABLED instead of `NODE_MODULE` to make the module context-aware.
  • Loading branch information
Bong Nguyen committed Nov 11, 2022
1 parent 9955618 commit a6f0cd1
Show file tree
Hide file tree
Showing 4 changed files with 2,635 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
*.log
*~
.node-version
/bin/
Loading

0 comments on commit a6f0cd1

Please sign in to comment.