Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try prettier.resolveConfig('')
  • Loading branch information
buxit authored Apr 8, 2025
commit 52e4213aca074a7b559fa9d6a50b130e77dc1484
2 changes: 1 addition & 1 deletion packages/generators/src/commons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const prettify =
async (ctx: C) => {
const fileName = await getFileName(target, ctx)
const content = (await readFile(fileName)).toString()
const config = (await prettier.resolveConfig()) || options
const config = (await prettier.resolveConfig('')) || options

try {
await writeFile(
Expand Down