mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
fix(codegen): fix spacing of for await (x of y) (#5890)
This commit is contained in:
1 parent
84a5816d03
commit
cee9d0ba5f
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user