Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -9794,4 +9794,4 @@ function onceStrict (fn) {

/***/ })

/******/ });
/******/ });
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function run(): Promise<void> {
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,
Expand Down