Skip to content

Commit 34349cd

Browse files
committed
trim first
1 parent 701bbb7 commit 34349cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/generate-changelog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export async function generateChangelog(
7575
const commits = command.stdout
7676
.trim()
7777
.split('\n')
78-
.filter(s => s)
78+
.filter(s => s.trim())
7979
core.info(`Found commits ${commits}`)
8080

8181
// There were no differences in commits between the current version and the previous version.

0 commit comments

Comments
 (0)