Skip to content

Commit

Permalink
fix gro_plugin_moss banner
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Oct 12, 2024
1 parent 5c8e23c commit 044430c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/heavy-walls-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ryanatkn/moss': patch
---

fix `gro_plugin_moss` banner
2 changes: 1 addition & 1 deletion src/lib/gro_plugin_moss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const gro_plugin_moss = ({
const flush_gen_queue = throttle(
async () => {
const css = generate_classes_css(css_classes.get_sorted_array());
const contents = `/* ${banner} */\n\n${css}\n\n/* ${banner} */n`;
const contents = `/* ${banner} */\n\n${css}\n\n/* ${banner} */`;
const output = await format_file(contents, {filepath: outfile});
// TODO think about using gen to implement this, would have some nice benefits like automatic change detection
if (output === previous_output) return;
Expand Down

0 comments on commit 044430c

Please sign in to comment.