Skip to content

Commit 096e076

Browse files
committed
fix
1 parent 2fdb502 commit 096e076

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ship.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ export default {
8585
extractChangelog: async ({ version, dir }) => {
8686
const changelogPath = path.resolve(dir, 'CHANGELOG.md')
8787
try {
88-
const changelogFile = (
89-
await fs.readFile(changelogPath, 'utf-8')
90-
).toString()
88+
const changelogFile = await fs.readFile(changelogPath, 'utf-8')
9189
const ret = extractSpecificChangelog(changelogFile, version)
9290
return ret
9391
} catch (err) {

0 commit comments

Comments
 (0)