Skip to content

Commit caa0a78

Browse files
koh110MylesBorins
authored andcommitted
doc: fix the index order in pseudocode of modules
fix the index order in pseudocode of modules. PR-URL: #9562 Reviewed-By: Shigeki Ohtsu <[email protected]> Reviewed-By: Yosuke Furukawa <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 0088ed8 commit caa0a78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/modules.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ NODE_MODULES_PATHS(START)
181181
3. let DIRS = []
182182
4. while I >= 0,
183183
a. if PARTS[I] = "node_modules" CONTINUE
184-
c. DIR = path join(PARTS[0 .. I] + "node_modules")
185-
b. DIRS = DIRS + DIR
186-
c. let I = I - 1
184+
b. DIR = path join(PARTS[0 .. I] + "node_modules")
185+
c. DIRS = DIRS + DIR
186+
d. let I = I - 1
187187
5. return DIRS
188188
```
189189

0 commit comments

Comments
 (0)