Skip to content

Commit

Permalink
chore(crwa): Fix ts-to-js script (#10476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed Apr 19, 2024
1 parent 361e789 commit 5e4caa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-redwood-app/scripts/tsToJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ for (const filePath of filePaths) {
throw new Error(`Error: Couldn't transform ${filePath}`)
}

const formattedCode = format(result.code, {
const formattedCode = await format(result.code, {
...prettierConfig,
parser: 'babel',
})
Expand Down

0 comments on commit 5e4caa2

Please sign in to comment.