Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use NAN_MODULE_WORKER_ENABLED to make module context aware
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