updating dist
This commit is contained in:
15
dist/index.js
generated
vendored
15
dist/index.js
generated
vendored
@@ -110,18 +110,13 @@ function findCommentByMarker(commentBodyIncludes) {
|
||||
issue_number: github.context.payload.pull_request.number
|
||||
});
|
||||
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;
|
||||
_d = false;
|
||||
try {
|
||||
const { data: comments } = _c;
|
||||
const existingComment = comments.find(comment => { var _a; return (_a = comment.body) === null || _a === void 0 ? void 0 : _a.includes(commentBodyIncludes); });
|
||||
if (existingComment)
|
||||
return existingComment.id;
|
||||
}
|
||||
finally {
|
||||
_d = true;
|
||||
}
|
||||
const { data: comments } = _c;
|
||||
const existingComment = comments.find(comment => { var _a; return (_a = comment.body) === null || _a === void 0 ? void 0 : _a.includes(commentBodyIncludes); });
|
||||
if (existingComment)
|
||||
return existingComment.id;
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user