updating dist

This commit is contained in:
Federico Builes
2023-10-23 12:26:03 +02:00
parent f85d4d5bc2
commit 88953c2b16
2 changed files with 6 additions and 11 deletions

15
dist/index.js generated vendored
View File

@@ -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

File diff suppressed because one or more lines are too long