From 4f376985d033f17ab113534089b4d009cead0734 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 20 Apr 2022 08:40:57 -0700 Subject: [PATCH] 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 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7a08227..f9761be 100644 --- a/index.js +++ b/index.js @@ -109,7 +109,7 @@ async function manifestInstance (github) { const bumpMinorPreMajor = core.getBooleanInput('bump-minor-pre-major') const bumpPatchForMinorPreMajor = core.getBooleanInput('bump-patch-for-minor-pre-major') const monorepoTags = core.getBooleanInput('monorepo-tags') - const packageName = core.getInput('package-name') + const packageName = core.getInput('package-name') || undefined const path = core.getInput('path') || undefined const releaseType = core.getInput('release-type', { required: true }) const changelogPath = core.getInput('changelog-path') || undefined