Skip to content

Commit 4826caf

Browse files
committed
chore: format
1 parent e79d107 commit 4826caf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/tasks/release-notes.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,7 @@ function extractChangelog(
158158
if (pkgPath) {
159159
const rootPath = join(ctx.cwd, "CHANGELOG.md");
160160
if (existsSync(rootPath)) {
161-
return parseChangelogSection(
162-
readFileSync(rootPath, "utf-8"),
163-
version,
164-
);
161+
return parseChangelogSection(readFileSync(rootPath, "utf-8"), version);
165162
}
166163
}
167164

0 commit comments

Comments
 (0)