Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: remove the last <pre> tag
  • Loading branch information
ovflowd authored Jul 6, 2024
commit 43d361a0d642e117b5c8f7a2a22d818f0078b0df
4 changes: 2 additions & 2 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```
Comment thread
ovflowd marked this conversation as resolved.
Resolved
require(X) from module at path Y
1. If X is a core module,
a. return the core module
Expand Down Expand Up @@ -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

Expand Down