Skip to content

Commit 9838ae6

Browse files
committed
chore: format
1 parent 0be13c0 commit 9838ae6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"posttest": "rimraf .test-cache"
2626
},
2727
"bin": {
28-
"extract-react-intl-messages": "dist/cli.js",
29-
"extract-messages": "dist/cli.js"
28+
"extract-messages": "dist/cli.js",
29+
"extract-react-intl-messages": "dist/cli.js"
3030
},
3131
"files": [
3232
"dist"

src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ const writeJson = (outputPath: string, obj: object, indent: number) => {
1515
}
1616

1717
const writeYaml = (outputPath: string, obj: object, indent: number) => {
18-
return pify(fs.writeFile)(`${outputPath}.yml`, yaml.safeDump(obj, { indent }), 'utf8')
18+
return pify(fs.writeFile)(
19+
`${outputPath}.yml`,
20+
yaml.safeDump(obj, { indent }),
21+
'utf8'
22+
)
1923
}
2024

2125
const isJson = (ext: string) => ext === 'json'

0 commit comments

Comments
 (0)