Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

fix: correct binding format #260

Merged
merged 1 commit into from
Jun 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/commands/build/wranglerjs/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ pub fn create_metadata(bundle: &Bundle) -> String {
r#"
{{
"body_part": "script",
"binding": {{
"bindings": [{{
"name": "{name}",
"type": "wasm_module",
"part": "{name}"
}}
}}]
}}
"#,
name = bundle.get_wasm_binding(),
Expand Down Expand Up @@ -225,11 +225,11 @@ mod tests {
r#"
{
"body_part": "script",
"binding": {
"bindings": [{
"name": "wasmprogram",
"type": "wasm_module",
"part": "wasmprogram"
}
}]
}
"#
);
Expand Down