diff --git a/dist/index.js b/dist/index.js index 5b959b8..5e915b3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2082,7 +2082,7 @@ function run() { if (useSameComment) { commentId = yield findComment(githubClient, repoName, repoOwner, prNumber, deltaCommentIdentifier); } - messageToPost = `Current PR reduces the test coverage percentage by ${delta} for some tests`; + messageToPost = `Current PR reduces the test coverage percentage by ${delta} percent or more for some tests`; messageToPost = `${deltaCommentIdentifier}\nCommit SHA:${commitSha}\n${messageToPost}`; yield createOrUpdateComment(commentId, githubClient, repoOwner, repoName, messageToPost, prNumber); throw Error(messageToPost); @@ -9794,4 +9794,4 @@ function onceStrict (fn) { /***/ }) -/******/ }); \ No newline at end of file +/******/ }); diff --git a/src/main.ts b/src/main.ts index 376d9d9..c9b0af3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -96,7 +96,7 @@ async function run(): Promise { deltaCommentIdentifier ) } - messageToPost = `Current PR reduces the test coverage percentage by ${delta} for some tests` + messageToPost = `Current PR reduces the test coverage percentage by ${delta} percent or more for some tests` messageToPost = `${deltaCommentIdentifier}\nCommit SHA:${commitSha}\n${messageToPost}` await createOrUpdateComment( commentId,