Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f72880d

Browse files
chirsz-everaduh95
authored andcommitted
doc: fix pseudo code in modules.md
This problem was introduced in PR #38837. PR-URL: #57677 Reviewed-By: James M Snell <[email protected]>
1 parent a9c70ce commit f72880d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ NODE_MODULES_PATHS(START)
414414
4. while I >= 0,
415415
a. if PARTS[I] = "node_modules", GOTO d.
416416
b. DIR = path join(PARTS[0 .. I] + "node_modules")
417-
c. DIRS = DIR + DIRS
417+
c. DIRS = DIRS + DIR
418418
d. let I = I - 1
419419
5. return DIRS + GLOBAL_FOLDERS
420420

0 commit comments

Comments
 (0)