Skip to content

Commit

Permalink
doc: fix directory order in NODE_MODULES_PATHS
Browse files Browse the repository at this point in the history
  • Loading branch information
arhart committed Jul 13, 2022
1 parent 2f169ad commit 8536460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ NODE_MODULES_PATHS(START)
4. while I >= 0,
a. if PARTS[I] = "node_modules" CONTINUE
b. DIR = path join(PARTS[0 .. I] + "node_modules")
c. DIRS = DIR + DIRS
c. DIRS = DIRS + DIR
d. let I = I - 1
5. return DIRS + GLOBAL_FOLDERS

Expand Down

0 comments on commit 8536460

Please sign in to comment.