Skip to content

Commit

Permalink
fix problem causing #1785
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Dec 26, 2024
1 parent 3f22cbf commit 52ad7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/render/src/shared/utils/pretty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const defaults: Options = {
parser: "html",
};

export const pretty = (str: string, options: Options = {}) => {
return format(str, {
export const pretty = async (str: string, options: Options = {}) => {
return format(str.replaceAll("\0", ""), {
...defaults,
...options,
});
Expand Down

0 comments on commit 52ad7d3

Please sign in to comment.