Skip to content

Commit

Permalink
doc: remove the last <pre> tag
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
ovflowd authored and aduh95 committed Jul 12, 2024
1 parent b8dd273 commit 66e3402
Showing 1 changed file with 2 additions and 2 deletions.
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>
```text
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

0 comments on commit 66e3402

Please sign in to comment.