Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
bartveneman committed Oct 13, 2024
1 parent 157168d commit 87e4139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ export function format(css, { minify = false } = {}) {
let comment = print_comment(start_offset(node), end_offset(node))
if (comment) {
buffer += OPEN_BRACE + NEWLINE
buffer += indent(indent_level + 1) + comment + NEWLINE
buffer += indent(indent_level) + CLOSE_BRACE
buffer += indent(indent_level + 1) + comment
buffer += NEWLINE + indent(indent_level) + CLOSE_BRACE
return buffer
}
return buffer + EMPTY_BLOCK
Expand Down

0 comments on commit 87e4139

Please sign in to comment.