Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Nov 1, 2024
1 parent 17d43f5 commit 6c0c5d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/scripts/src/addOrbitChain/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,13 @@ export async function runPrettier(targetJsonPath: string): Promise<void> {
const config = await import(
"../../../arb-token-bridge-ui/prettier.config.js"
);

console.log({ prettier, config });
const formattedContent = await prettier.format(fileContent, {
parser: "json",
tabWidth: 2,
singleQuote: false,
});
console.log({ formattedContent });
const formattedContent2 = await prettier.format(fileContent, {
...config,
filepath: targetJsonPath,
Expand Down

0 comments on commit 6c0c5d4

Please sign in to comment.