Skip to content

Commit 5a74568

Browse files
dario-piotrowicztargos
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 <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent ac35106 commit 5a74568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ require(X) from module at path Y
341341
a. return the core module
342342
b. STOP
343343
2. If X begins with '/'
344-
a. set Y to be the file system root
344+
a. set Y to the file system root
345345
3. If X begins with './' or '/' or '../'
346346
a. LOAD_AS_FILE(Y + X)
347347
b. LOAD_AS_DIRECTORY(Y + X)

0 commit comments

Comments
 (0)