From 3d10fb38c2ba1ba1ad3fd6b7a6ab11a62de39b21 Mon Sep 17 00:00:00 2001 From: Tomoya Kashifuku Date: Thu, 21 Mar 2024 00:11:29 +0900 Subject: [PATCH] fix comment debug (#23) * show comment info if recommending comment has already been posted * update to show existing comment url * show debug comment on console.log than in message by summary * fix to set message after post a message * remove unused properties * fix logic --- dist/index.js | 85 +++++++++++++-------------- src/comments/getCommentContent.ts | 22 +++---- src/comments/getExistingCommentUrl.ts | 9 +++ src/comments/isAlreadyCommented.ts | 8 --- src/comments/postComment.ts | 34 +++++------ src/comments/types.ts | 4 +- src/main.ts | 10 ++-- 7 files changed, 83 insertions(+), 89 deletions(-) create mode 100644 src/comments/getExistingCommentUrl.ts delete mode 100644 src/comments/isAlreadyCommented.ts diff --git a/dist/index.js b/dist/index.js index 1919d0c..ed7b971 100644 --- a/dist/index.js +++ b/dist/index.js @@ -28996,15 +28996,17 @@ exports.ACTION_IDENTIFY_TEXT = '