mirror of
https://github.com/softprops/action-gh-release
synced 2026-10-02 09:41:31 +00:00
make sure values not provided by users resolve to undefined (#144)
This commit is contained in:
1 parent
815e458579
commit
730b76a669
3 files changed
+32
-19
No files matched your search
+3
-2
@@ -63,8 +63,9 @@ export const parseConfig = (env: Env): Config => {
|
||||
? env.INPUT_PRERELEASE == "true"
|
||||
: undefined,
|
||||
input_fail_on_unmatched_files: env.INPUT_FAIL_ON_UNMATCHED_FILES == "true",
|
||||
input_target_commitish: env.INPUT_TARGET_COMMITISH,
|
||||
input_discussion_category_name: env.INPUT_DISCUSSION_CATEGORY_NAME
|
||||
input_target_commitish: env.INPUT_TARGET_COMMITISH || undefined,
|
||||
input_discussion_category_name:
|
||||
env.INPUT_DISCUSSION_CATEGORY_NAME || undefined
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user