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 c3c6ffa
Show file tree
Hide file tree
Showing 10,158 changed files with 319,685 additions and 384 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@
*.log
*~
.node-version
/bin
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

725 changes: 365 additions & 360 deletions binding.gyp

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion deps/libgit2
Submodule libgit2 deleted from fef847

0 comments on commit c3c6ffa

Please sign in to comment.