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() {
50
50
// Retrieve custom inputs
51
51
const labels = core.getInput("label").split(",").map(label => label.trim());
52
52
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";
54
54
const comment = core.getInput("comment");
55
55
const close = core.getInput("close") === "true" || false;
56
56
const checkComment = comment.trim() !== "";
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ async function HandleMultipleIssues() {
23
23
// Retrieve custom inputs
24
24
const labels = core . getInput ( "label" ) . split ( "," ) . map ( label => label . trim ( ) ) ;
25
25
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" ;
27
27
const comment = core . getInput ( "comment" ) ;
28
28
const close = core . getInput ( "close" ) === "true" || false ;
29
29
You can’t perform that action at this time.
0 commit comments