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 18, 2024
1 parent eaeb70e commit 60798a6
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 60798a6

Please sign in to comment.