Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: fix return value for require.resolve.paths()
Update documentation of modules.md for require.resolve.paths() to include the possibillity of null as a return value if the request string given matches a core module name. PR-URL: nodejs#18350 Fixes: nodejs#18230 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information