Skip to content

Commit

Permalink
doc: fix the index order in pseudocode of modules
Browse files Browse the repository at this point in the history
fix the index order in pseudocode of modules.

PR-URL: #9562
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
koh110 authored and MylesBorins committed Dec 13, 2016
1 parent 0088ed8 commit caa0a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit caa0a78

Please sign in to comment.