updating dist
This commit is contained in:
+5
-10
@@ -110,18 +110,13 @@ function findCommentByMarker(commentBodyIncludes) {
|
|||||||
issue_number: github.context.payload.pull_request.number
|
issue_number: github.context.payload.pull_request.number
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
for (var _d = true, commentsIterator_1 = __asyncValues(commentsIterator), commentsIterator_1_1; commentsIterator_1_1 = yield commentsIterator_1.next(), _a = commentsIterator_1_1.done, !_a;) {
|
for (var _d = true, commentsIterator_1 = __asyncValues(commentsIterator), commentsIterator_1_1; commentsIterator_1_1 = yield commentsIterator_1.next(), _a = commentsIterator_1_1.done, !_a; _d = true) {
|
||||||
_c = commentsIterator_1_1.value;
|
_c = commentsIterator_1_1.value;
|
||||||
_d = false;
|
_d = false;
|
||||||
try {
|
const { data: comments } = _c;
|
||||||
const { data: comments } = _c;
|
const existingComment = comments.find(comment => { var _a; return (_a = comment.body) === null || _a === void 0 ? void 0 : _a.includes(commentBodyIncludes); });
|
||||||
const existingComment = comments.find(comment => { var _a; return (_a = comment.body) === null || _a === void 0 ? void 0 : _a.includes(commentBodyIncludes); });
|
if (existingComment)
|
||||||
if (existingComment)
|
return existingComment.id;
|
||||||
return existingComment.id;
|
|
||||||
}
|
|
||||||
finally {
|
|
||||||
_d = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user