mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: remove the last <pre> tag
PR-URL: https://github.com/nodejs/node/pull/53741 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
@@ -235,7 +235,7 @@ the `require.resolve()` function.
|
||||
Putting together all of the above, here is the high-level algorithm
|
||||
in pseudocode of what `require()` does:
|
||||
|
||||
<pre>
|
||||
```text
|
||||
require(X) from module at path Y
|
||||
1. If X is a core module,
|
||||
a. return the core module
|
||||
@@ -347,7 +347,7 @@ RESOLVE_ESM_MATCH(MATCH)
|
||||
2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
|
||||
format. STOP
|
||||
3. THROW "not found"
|
||||
</pre>
|
||||
```
|
||||
|
||||
## Caching
|
||||
|
||||
|
||||
Reference in New Issue
Block a user