mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
fix(codegen): fix spacing of for await (x of y) (#5890)
This commit is contained in:
parent
84a5816d03
commit
cee9d0ba5f
1 changed files with 1 additions and 1 deletions
|
|
@ -302,10 +302,10 @@ impl<'a> Gen for ForOfStatement<'a> {
|
|||
p.add_source_mapping(self.span.start);
|
||||
p.print_indent();
|
||||
p.print_str("for");
|
||||
p.print_soft_space();
|
||||
if self.r#await {
|
||||
p.print_str(" await");
|
||||
}
|
||||
p.print_soft_space();
|
||||
p.print_char(b'(');
|
||||
self.left.print(p, ctx);
|
||||
p.print_soft_space();
|
||||
|
|
|
|||
Loading…
Reference in a new issue