diff --git a/doc/api/modules.md b/doc/api/modules.md index 2d2198830e4b98..f8ff22544aeed2 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -333,7 +333,7 @@ NODE_MODULES_PATHS(START) 2. let I = count of PARTS - 1 3. let DIRS = [] 4. while I >= 0, - a. if PARTS[I] = "node_modules" CONTINUE + a. if PARTS[I] = "node_modules", GOTO d. b. DIR = path join(PARTS[0 .. I] + "node_modules") c. DIRS = DIR + DIRS d. let I = I - 1