Skip to content
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion packages/generators/src/commons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ export const prettify =
) =>
async (ctx: C) => {
const fileName = await getFileName(target, ctx)
const config = (await prettier.resolveConfig(ctx.cwd)) || options
const content = (await readFile(fileName)).toString()
const config = (await prettier.resolveConfig('')) || options

try {
await writeFile(
Expand Down