mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: fix the index order in pseudocode of modules
fix the index order in pseudocode of modules. PR-URL: https://github.com/nodejs/node/pull/9562 Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org> Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
0088ed87ea
commit
caa0a7876d
1 file changed
+3
-3
+3
-3
@@ -181,9 +181,9 @@ NODE_MODULES_PATHS(START)
|
||||
3. let DIRS = []
|
||||
4. while I >= 0,
|
||||
a. if PARTS[I] = "node_modules" CONTINUE
|
||||
c. DIR = path join(PARTS[0 .. I] + "node_modules")
|
||||
b. DIRS = DIRS + DIR
|
||||
c. let I = I - 1
|
||||
b. DIR = path join(PARTS[0 .. I] + "node_modules")
|
||||
c. DIRS = DIRS + DIR
|
||||
d. let I = I - 1
|
||||
5. return DIRS
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user