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 committed Mar 19, 2021
1 parent 104dac7 commit 361632d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
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 361632d

Please sign in to comment.