Skip to content

Commit 177e359

Browse files
committed
Fix: Build problem with Prettier 3 in CI
1 parent f17f349 commit 177e359

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/setup-packages.mts

+5-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ paths.forEach(async (pkgPath) => {
101101
},
102102
};
103103

104-
fs.promises.writeFile(path.join(dir, 'tsconfig.json'), formatJSON(esmTsconfig));
105-
fs.promises.writeFile(path.join(dir, 'tsconfig.cjs.json'), formatJSON(cjsTsconfig));
104+
fs.promises.writeFile(path.join(dir, 'tsconfig.json'), await formatJSON(esmTsconfig));
105+
fs.promises.writeFile(
106+
path.join(dir, 'tsconfig.cjs.json'),
107+
await formatJSON(cjsTsconfig),
108+
);
106109
}
107110

108111
fs.promises.writeFile(pkgPath, JSON.stringify(pkg, null, 2) + '\n');

0 commit comments

Comments
 (0)