Skip to content

Commit

Permalink
remove debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
aweis89 committed Dec 5, 2023
1 parent d5a59f2 commit 3ffbd8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1826,9 +1826,6 @@ _Updated at ${new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angele
});
// Delete stale comments
for (const comment of commentsResponse.data) {
core.info(`analyzing comment: ${comment.id}`);
core.info(`analyzing comment body: ${comment.body}`);
core.info(`looking for ${prefixHeader}`);
if ((_c = comment.body) === null || _c === void 0 ? void 0 : _c.includes(prefixHeader)) {
core.info(`deleting comment ${comment.id}`);
octokit.rest.issues.deleteComment({
Expand Down
3 changes: 0 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ _Updated at ${new Date().toLocaleString('en-US', { timeZone: 'America/Los_Angele

// Delete stale comments
for (const comment of commentsResponse.data) {
core.info(`analyzing comment: ${comment.id}`)
core.info(`analyzing comment body: ${comment.body}`)
core.info(`looking for ${prefixHeader}`)
if (comment.body?.includes(prefixHeader)) {
core.info(`deleting comment ${comment.id}`)
octokit.rest.issues.deleteComment({
Expand Down

0 comments on commit 3ffbd8f

Please sign in to comment.