Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Nov 30, 2023
1 parent 04a3e85 commit eba05a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ const Module = module.exports = exports = class Module {
return protocol
}

static _bundleFor (specifier, protocol, source = null) {
static _bundleFor (specifier, protocol) {
let name = specifier
do {
if (path.extname(name) === '.bundle') {
Expand All @@ -514,7 +514,7 @@ const Module = module.exports = exports = class Module {

if (path.extname(name) !== '.bundle') return null

return Module.load(name, specifier === name ? source : null, { protocol })._bundle
return Module.load(name, { protocol })._bundle
}
}

Expand Down

0 comments on commit eba05a6

Please sign in to comment.