Skip to content

Commit 09368db

Browse files
dario-piotrowiczmarco-ippolito
authored andcommitted
doc: disambiguate pseudo-code statement
the statement `set Y to be the file system root` can be wrongly interpreted as the file system root being updated to match Y, removing the `be` term removes this potential interpretation PR-URL: #57092 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 2c3dc56 commit 09368db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ require(X) from module at path Y
342342
a. return the core module
343343
b. STOP
344344
2. If X begins with '/'
345-
a. set Y to be the file system root
345+
a. set Y to the file system root
346346
3. If X begins with './' or '/' or '../'
347347
a. LOAD_AS_FILE(Y + X)
348348
b. LOAD_AS_DIRECTORY(Y + X)

0 commit comments

Comments
 (0)