diff --git a/action/dist/index.js b/action/dist/index.js index f3b32049..a7843a01 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -900,7 +900,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith console.log(`Repositories to use | ${repositories}`) //Die on plugins errors - const die = core.getInput("plugins_errors_fatal") || false + const die = bool(core.getInput("plugins_errors_fatal")) console.log(`Plugin errors | ${die ? "die" : "ignore"}`) //Built query @@ -911,7 +911,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith console.log(`Render | complete`) //Commit to repository - const dryrun = core.getInput("dryrun") || false + const dryrun = bool(core.getInput("dryrun")) if (dryrun) console.log(`Dry-run | complete`) else { diff --git a/action/index.mjs b/action/index.mjs index eea74ecf..727d9f93 100644 --- a/action/index.mjs +++ b/action/index.mjs @@ -106,7 +106,7 @@ console.log(`Repositories to use | ${repositories}`) //Die on plugins errors - const die = core.getInput("plugins_errors_fatal") || false + const die = bool(core.getInput("plugins_errors_fatal")) console.log(`Plugin errors | ${die ? "die" : "ignore"}`) //Built query @@ -117,7 +117,7 @@ console.log(`Render | complete`) //Commit to repository - const dryrun = core.getInput("dryrun") || false + const dryrun = bool(core.getInput("dryrun")) if (dryrun) console.log(`Dry-run | complete`) else {