Skip to content

Commit ff947a1

Browse files
committed
minor fixes
1 parent c2436b5 commit ff947a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

kbanalysis/dist/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8569,7 +8569,7 @@ function createIssueCommentBody(data) {
85698569
output.push(`\n- [ ] ${data.title}`);
85708570
let new_body = data.body.split("\n");
85718571
output.push(" <details>");
8572-
output.push(" <summary>Analysis</summary\n");
8572+
output.push(" <summary>Analysis</summary>\n");
85738573
for (let line of new_body) {
85748574
output.push(` ${line}`);
85758575
}
@@ -8588,7 +8588,7 @@ async function prepareComment(client, owner, repo, issue) {
85888588
return createIssueCommentBody({ title: issue.title, body: body });
85898589
}
85908590
}
8591-
return "not found";
8591+
return createIssueCommentBody({ title: issue.title, body: "no analysis" });
85928592
}
85938593

85948594

kbanalysis/src/issues-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createIssueCommentBody(data: { title: string; body: string }) {
5454
output.push(`\n- [ ] ${data.title}`);
5555
let new_body = data.body.split("\n");
5656
output.push(" <details>");
57-
output.push(" <summary>Analysis</summary\n");
57+
output.push(" <summary>Analysis</summary>\n");
5858
for (let line of new_body) {
5959
output.push(` ${line}`);
6060
}
@@ -81,5 +81,5 @@ async function prepareComment(
8181
}
8282
}
8383

84-
return "not found";
84+
return createIssueCommentBody({ title: issue.title, body: "no analysis" });
8585
}

0 commit comments

Comments
 (0)