Skip to content

Commit

Permalink
doc: fix lint error in modules.md
Browse files Browse the repository at this point in the history
PR-URL: #37811
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
  • Loading branch information
Trott authored and targos committed Sep 1, 2021
1 parent f9f9389 commit f509788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/modules.md
Expand Up @@ -656,6 +656,7 @@ native modules and if a name matching a native module is added to the cache,
only `node:`-prefixed require calls are going to receive the native module.
Use with care!

<!-- eslint-disable node-core/no-duplicate-requires -->
```js
const assert = require('assert');
const realFs = require('fs');
Expand Down

0 comments on commit f509788

Please sign in to comment.