Skip to content

Commit

Permalink
Merge pull request #6882 from mohsen1/patch-4
Browse files Browse the repository at this point in the history
Remove extra argument from WebAssemblyImportDependency constructor call site
  • Loading branch information
sokra committed Mar 29, 2018
2 parents d4f3c77 + 5e0b2ba commit 3a6edf0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/WebAssemblyParser.js
Expand Up @@ -34,11 +34,7 @@ class WebAssemblyParser extends Tapable {
module
).map(exp => exp.name);
for (const imp of WebAssembly.Module.imports(module)) {
const dep = new WebAssemblyImportDependency(
imp.module,
imp.name,
imp.kind
);
const dep = new WebAssemblyImportDependency(imp.module, imp.name);
state.module.addDependency(dep);
}
})
Expand Down

0 comments on commit 3a6edf0

Please sign in to comment.