Skip to content

Commit

Permalink
Adds await, format returns promise
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota002 authored and lpsinger committed Jul 22, 2024
1 parent c23dda4 commit 5c6a98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-tags.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function fileUpdates(fileSet, key, oldValue, newValue) {

await writeFile(
fileItem,
prettier.format(JSON.stringify(file), {
await prettier.format(JSON.stringify(file), {
parser: 'json',
}),
)
Expand Down

0 comments on commit 5c6a98e

Please sign in to comment.