Skip to content

Commit ecf803d

Browse files
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 6fe0723 commit ecf803d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ require(X) from module at path Y
346346
a. return the core module
347347
b. STOP
348348
2. If X begins with '/'
349-
a. set Y to be the file system root
349+
a. set Y to the file system root
350350
3. If X begins with './' or '/' or '../'
351351
a. LOAD_AS_FILE(Y + X)
352352
b. LOAD_AS_DIRECTORY(Y + X)

0 commit comments

Comments
 (0)