Skip to content

Commit afa1e71

Browse files
sqsfelixfbecker
authored andcommitted
fix: remove extra } in prettier command
This causes the prettier command to fail: ``` Prettifying { Error: Command failed: node_modules/.bin/prettier **/*.{js?(on),ts?(x),md,yml}} --write [error] No matching files. Patterns tried: **/*.{js?(on),ts?(x),md,yml}} !**/node_modules/** !./node_modules/** !**/.{git,svn,hg}/** !./.{git,svn,hg}/** ```
1 parent b49391c commit afa1e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async function main(): Promise<void> {
403403
}
404404

405405
console.log('💄 Prettifying')
406-
await exec('node_modules/.bin/prettier', ['**/*.{js?(on),ts?(x),md,yml}}', '--write'])
406+
await exec('node_modules/.bin/prettier', ['**/*.{js?(on),ts?(x),md,yml}', '--write'])
407407
console.log('✨ Done')
408408

409409
setTimeout(() => process.exit(0), 100)

0 commit comments

Comments
 (0)