1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-14 00:11:36 +02:00

chore(lint): address linting

This commit is contained in:
bcoe
2020-09-10 11:27:42 -07:00
parent 29ea6b33e5
commit c50871331b

View File

@@ -11,12 +11,12 @@ async function main () {
const path = core.getInput('path') ? core.getInput('path') : undefined const path = core.getInput('path') ? core.getInput('path') : undefined
const releaseType = core.getInput('release-type') const releaseType = core.getInput('release-type')
const token = core.getInput('token') const token = core.getInput('token')
const changelogTypes = core.getInput('changelog-types'); const changelogTypes = core.getInput('changelog-types')
// Parse the changelogTypes if there are any // Parse the changelogTypes if there are any
let changelogSections = []; let changelogSections = []
if (changelogTypes) { if (changelogTypes) {
changelogSections = JSON.parse(changelogTypes); changelogSections = JSON.parse(changelogTypes)
} }
// First we check for any merged release PRs (PRs merged with the label // First we check for any merged release PRs (PRs merged with the label