1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-12 19:31:31 +02:00

fix: default changelog sections to undefined

This commit is contained in:
bcoe
2020-09-17 12:54:13 -07:00
parent 8f40d8e788
commit 31e1a25ccf
3 changed files with 155 additions and 158 deletions

View File

@@ -15,7 +15,7 @@ async function main () {
const changelogTypes = core.getInput('changelog-types')
// Parse the changelogTypes if there are any
let changelogSections = []
let changelogSections = undefined
if (changelogTypes) {
changelogSections = JSON.parse(changelogTypes)
}