Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace deprecated interface (#5049)
Change process.mainModule to require.main as process.mainModule is deprecated since nodejs v14 Should not break as require.main has been around since v0.1.17
- Loading branch information