Skip to content

Commit

Permalink
refactor(l10n): update utils to Prettier 3
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpatiiuk committed Dec 13, 2024
1 parent a403515 commit edd3504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function updateLocalFile(
`$<pre>${JSON.stringify(strings, null, 2)}$<post>`
);
const config = (await resolvePrettierConfig()) ?? {};
const formatted = prettier.format(newContent, {
const formatted = await prettier.format(newContent, {
...config,
parser: 'babel-ts',
});
Expand Down

0 comments on commit edd3504

Please sign in to comment.