mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-10 00:50:05 +00:00
refactor(inputs): remove redundant defaults and options
This commit is contained in:
parent
fd6487c160
commit
18455e9e99
4 changed files with 18 additions and 17 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue