Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f72880d

Browse filesBrowse 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 <jasnell@gmail.com>
1 parent a9c70ce commit f72880d
Copy full SHA for f72880d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/modules.md‎

Copy file name to clipboardExpand all lines: doc/api/modules.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.