11
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-04-16 09:39:52 +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

@ -6,7 +6,7 @@ const inputs = require('./inputs.json');
* @returns {{}|{dryRun: boolean}}
*/
exports.handleDryRunOption = () => {
const dryRun = core.getInput(inputs.dry_run, {required: false}) || '';
const dryRun = core.getInput(inputs.dry_run);
switch (dryRun) {
case 'true':