diff --git a/dist/index.js b/dist/index.js index d92d5b27414a98d70ac15bee6246af4960abe1bf..14f5ab0c53c75694440163ec61ea2d6b01f7aa37 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 3444deee83b4dc495e1d5629ce250f8f63cb692a..80245b43a43f3571d9fa1fa2191627037f187ac5 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/main.ts b/src/main.ts index 5b08bd89f16f2da708dbc305f4b987d37dcd277b..94765b19a36cb8044f520e36c121926716b7ebd3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -55,7 +55,6 @@ async function run(): Promise { } // create comment by bot - core.info(issue_translate_comment_body) if (octokit === null) { octokit = github.getOctokit(myToken) } @@ -83,9 +82,10 @@ async function translateCommentBody(body: string): Promise { .then(res => { result = ` - > Bot detected the comment body's language is not English, translate it automatically. For the convenience of others, please use English next time^^. - ---- - ${res.text} +> Bot detected the comment body's language is not English, translate it automatically. For the convenience of others, please use English next time👯. +---- + +${res.text} ` }) .catch(err => {