File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async function HandleMultipleIssues() {
5050 // Retrieve custom inputs
5151 const labels = core.getInput("label").split(",").map(label => label.trim());
5252 const assign = core.getInput("assign") === "true" || false;
53- const issueNumber = core.getInput("issueNumber") === "true" || false; // converts to boolean
53+ const issueNumber = core.getInput("issueNumber") === "true";
5454 const comment = core.getInput("comment");
5555 const close = core.getInput("close") === "true" || false;
5656 const checkComment = comment.trim() !== "";
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ async function HandleMultipleIssues() {
2323 // Retrieve custom inputs
2424 const labels = core . getInput ( "label" ) . split ( "," ) . map ( label => label . trim ( ) ) ;
2525 const assign = core . getInput ( "assign" ) === "true" || false ;
26- const issueNumber = core . getInput ( "issueNumber" ) === "true" || false ; // converts to boolean
26+ const issueNumber = core . getInput ( "issueNumber" ) === "true" ;
2727 const comment = core . getInput ( "comment" ) ;
2828 const close = core . getInput ( "close" ) === "true" || false ;
2929
You can’t perform that action at this time.
0 commit comments