11
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-04-20 02:29:51 +00:00

refactor(inputs): remove redundant defaults and options

This commit is contained in:
cycjimmy 2019-10-26 22:40:30 +08:00
parent fd6487c160
commit 18455e9e99
4 changed files with 18 additions and 17 deletions

View file

@ -16,7 +16,7 @@ const release = async () => {
await setUpJob();
await preInstallPlugins();
const branch = core.getInput(inputs.branch, {required: false}) || 'master';
const branch = core.getInput(inputs.branch) || 'master';
const result = await semanticRelease({
branch,
...(handleDryRunOption()),