Skip to content

Commit

Permalink
fixup: doc change
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBorins committed Apr 30, 2019
1 parent 2b1f48e commit 5942747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ added: v10.12.0

```js
const { createRequireFromPath } = require('module');
const requireUtil = createRequireFromPath('../src/utils');
const requireUtil = createRequireFromPath('../src/utils/');

// Require `../src/utils/some-tool`
requireUtil('./some-tool');
Expand Down

0 comments on commit 5942747

Please sign in to comment.