Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdave authored and github-actions[bot] committed Jun 25, 2024
1 parent a30741f commit 76e7420
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js_printer.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3246,17 +3246,17 @@ fn NewPrinter(
last.visitRightAndFinish(p);
}
},
.e_inlined_enum => |e| {
.e_inlined_enum => |e| {
p.printExpr(e.value, level, flags);
if(!p.options.minify_whitespace and !p.options.minify_identifiers) {
if (!p.options.minify_whitespace and !p.options.minify_identifiers) {
p.print(" /* ");
p.print(e.comment);
p.print(" */");
}
},
else => {
if(Environment.isDebug)
Output.panic("Unexpected expression of type .{s}", .{@tagName(expr.data)});
if (Environment.isDebug)
Output.panic("Unexpected expression of type .{s}", .{@tagName(expr.data)});
},
}
}
Expand Down

0 comments on commit 76e7420

Please sign in to comment.