Skip to content

Commit 2d0866d

Browse files
committed
cli-support: rustfmt
1 parent d5d3e46 commit 2d0866d

File tree

1 file changed

+4
-1
lines changed
  • crates/cli-support/src/js

1 file changed

+4
-1
lines changed

crates/cli-support/src/js/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,10 @@ impl<'a> Context<'a> {
285285
| OutputMode::Node {
286286
experimental_modules: true,
287287
} => {
288-
imports.push_str(&format!("import * as wasm from './{}_bg.wasm';\n", module_name));
288+
imports.push_str(&format!(
289+
"import * as wasm from './{}_bg.wasm';\n",
290+
module_name
291+
));
289292
for (id, js) in sorted_iter(&self.wasm_import_definitions) {
290293
let import = self.module.imports.get_mut(*id);
291294
import.module = format!("./{}.js", module_name);

0 commit comments

Comments
 (0)