Skip to content

Commit

Permalink
Merge pull request #1047 from RReverser/patch-1
Browse files Browse the repository at this point in the history
Fix variable name reference for path_or_module
  • Loading branch information
sendilkumarn authored Nov 22, 2018
2 parents 4e4a273 + 26f1903 commit fc0d652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ impl<'a> Context<'a> {
if (path_or_module instanceof WebAssembly.Module) {{
instantiation = WebAssembly.instantiate(path_or_module, imports)
.then(instance => {{
return {{ instance, module: module_or_path }}
return {{ instance, module: path_or_module }}
}});
}} else {{
const data = fetch(path_or_module);
Expand Down

0 comments on commit fc0d652

Please sign in to comment.