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 151e692
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2,096 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@
*.log
*~
.node-version
/bin

0 comments on commit 151e692

Please sign in to comment.