Handle action params correctly
This commit is contained in:
4
action/dist/index.js
vendored
4
action/dist/index.js
vendored
@@ -900,7 +900,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith
|
|||||||
console.log(`Repositories to use | ${repositories}`)
|
console.log(`Repositories to use | ${repositories}`)
|
||||||
|
|
||||||
//Die on plugins errors
|
//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"}`)
|
console.log(`Plugin errors | ${die ? "die" : "ignore"}`)
|
||||||
|
|
||||||
//Built query
|
//Built query
|
||||||
@@ -911,7 +911,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith
|
|||||||
console.log(`Render | complete`)
|
console.log(`Render | complete`)
|
||||||
|
|
||||||
//Commit to repository
|
//Commit to repository
|
||||||
const dryrun = core.getInput("dryrun") || false
|
const dryrun = bool(core.getInput("dryrun"))
|
||||||
if (dryrun)
|
if (dryrun)
|
||||||
console.log(`Dry-run | complete`)
|
console.log(`Dry-run | complete`)
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@
|
|||||||
console.log(`Repositories to use | ${repositories}`)
|
console.log(`Repositories to use | ${repositories}`)
|
||||||
|
|
||||||
//Die on plugins errors
|
//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"}`)
|
console.log(`Plugin errors | ${die ? "die" : "ignore"}`)
|
||||||
|
|
||||||
//Built query
|
//Built query
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
console.log(`Render | complete`)
|
console.log(`Render | complete`)
|
||||||
|
|
||||||
//Commit to repository
|
//Commit to repository
|
||||||
const dryrun = core.getInput("dryrun") || false
|
const dryrun = bool(core.getInput("dryrun"))
|
||||||
if (dryrun)
|
if (dryrun)
|
||||||
console.log(`Dry-run | complete`)
|
console.log(`Dry-run | complete`)
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user