Skip to content

Commit

Permalink
Chore: review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 8, 2020
1 parent 0ef3d7f commit 7a54712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/shared/relative-module-resolver.js
Expand Up @@ -11,7 +11,8 @@ const Module = require("module");
* `Module.createRequire` is added in v12.2.0. It supports URL as well.
* We only support the case where the argument is a filepath, not a URL.
*/
const createRequire = Module.createRequire || Module.createRequireFromPath; // eslint-disable-line node/no-unsupported-features/node-builtins, node/no-deprecated-api
// eslint-disable-next-line node/no-unsupported-features/node-builtins, node/no-deprecated-api
const createRequire = Module.createRequire || Module.createRequireFromPath;

module.exports = {

Expand Down

0 comments on commit 7a54712

Please sign in to comment.