Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 4f37698

Browse files
lukekarrysBenjamin E. Coe
andauthored
fix: default package-name to undefined (#459)
This allows for release-please to fallback to the deault value since it uses the nullish coalescing operator for that check. Fixes #457 Co-authored-by: Benjamin E. Coe <bencoe@google.com>
1 parent 3278f16 commit 4f37698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async function manifestInstance (github) {
109109
const bumpMinorPreMajor = core.getBooleanInput('bump-minor-pre-major')
110110
const bumpPatchForMinorPreMajor = core.getBooleanInput('bump-patch-for-minor-pre-major')
111111
const monorepoTags = core.getBooleanInput('monorepo-tags')
112-
const packageName = core.getInput('package-name')
112+
const packageName = core.getInput('package-name') || undefined
113113
const path = core.getInput('path') || undefined
114114
const releaseType = core.getInput('release-type', { required: true })
115115
const changelogPath = core.getInput('changelog-path') || undefined

0 commit comments

Comments
 (0)