From dddef4363f9b3b0c23e0360fe53a33871b973394 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Fri, 13 Nov 2020 02:03:07 +0800 Subject: [PATCH] modify bot comment markdown body --- dist/index.js | Bin 675624 -> 675556 bytes dist/index.js.map | Bin 586710 -> 586636 bytes src/main.ts | 8 ++++---- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index d92d5b27414a98d70ac15bee6246af4960abe1bf..14f5ab0c53c75694440163ec61ea2d6b01f7aa37 100644 GIT binary patch delta 74 zcmZ26PxHxK&4w1n7N!>F7M2#)Eo@y}+xK&^C9zCb=VzNF{9*pY^?C{*z@-ZWK#HsV VDnA<#vjZ^)5OZ$7%Fh*S4*;Mh7oPwC delta 111 zcmaDdS98TY&4w1n7N!>F7M2#)Eo@y}T*>)Gsd|}tY55w{_j0hwOg~V^Dzd$wi!GLg tO#uw1zu{w>Boh~>2jp= diff --git a/dist/index.js.map b/dist/index.js.map index 3444deee83b4dc495e1d5629ce250f8f63cb692a..80245b43a43f3571d9fa1fa2191627037f187ac5 100644 GIT binary patch delta 124 zcmcciT)F4D@&>n^(>FvhDo?9rWS?BRvwX6FE*rP2qob=%u(hM3v)g3H4!Ow*Gx(b| zceQKoVgzEQ?V7uoUCvF{Kgi6weN_j`dY0+&y)2W&KFpuEUQYo8V)Ar>07S>+we$C} S05K~NvjH*tcK$w&n^lNFlTCNHq!oE)%o`s4sLR_;JY$3UH6Yez@tpvjIMa+4Eg@K1Kz zDL2iLk*(QtSG(sfMj&R|?zxLu;T%_Teo?AkW?ovp#`MH?7MbZ++gQZ5=XS7cU|~}L sgXyxpER*Eo;`D&Lm^_G>E)alNFn;^dUKSu`1!6WJX5W6am*aRU0F0bB%K!iX diff --git a/src/main.ts b/src/main.ts index 5b08bd8..94765b1 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 => { -- GitLab