diff --git a/dist/index.js b/dist/index.js index 4b17fd4..0ee91f0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -50,7 +50,7 @@ async function HandleMultipleIssues() { // Retrieve custom inputs const labels = core.getInput("label").split(",").map(label => label.trim()); const assign = core.getInput("assign") === "true" || false; - const issueNumber = core.getInput("issueNumber") === "true" || false; // converts to boolean + const issueNumber = core.getInput("issueNumber") === "true"; const comment = core.getInput("comment"); const close = core.getInput("close") === "true" || false; const checkComment = comment.trim() !== ""; diff --git a/src/index.ts b/src/index.ts index 9786dc5..347b3e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ async function HandleMultipleIssues() { // Retrieve custom inputs const labels = core.getInput("label").split(",").map(label => label.trim()); const assign = core.getInput("assign") === "true" || false; - const issueNumber = core.getInput("issueNumber") === "true" || false; // converts to boolean + const issueNumber = core.getInput("issueNumber") === "true"; const comment = core.getInput("comment"); const close = core.getInput("close") === "true" || false;