forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: fix modules require.resolve documentation
The behavior of the `node_modules` lookup algorithm was changed in nodejs#1177, but the documentation was not updated completely to describe the new behavior. The pseudocode of the lookup algorithm also did not metion that `index.json` is tried to be loaded, if you require a folder.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters