Skip to content

Commit 582fadf

Browse files
Adjust uncommon JS style
Co-Authored-By: Michael Schmidt <[email protected]>
1 parent dff35ce commit 582fadf

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ __wbg_set_wasm(wasm);"
25862586

25872587
// After we've got an actual name handle field projections
25882588
if optional {
2589-
name = format!("typeof {name} === 'undefined' ? null: {name}");
2589+
name = format!("typeof {name} === 'undefined' ? null : {name}");
25902590

25912591
for field in import.fields.iter() {
25922592
name.push_str("?.");

0 commit comments

Comments
 (0)