Skip to content

Commit

Permalink
fix(notify): bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Dec 6, 2024
1 parent c27af00 commit 2369fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/notify/lib/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function getlog(from, to) {
number: 100,
branch: `${from}...${to}`,
fields: ['hash', 'abbrevHash', 'subject'],
});
}).then((list) => list.filter(({ status }) => status.length));
}

async function getLogs() {
Expand Down Expand Up @@ -175,9 +175,6 @@ async function getCommits() {
Object.entries(
groupBy(
(await getLogs()) // eslint-disable-next-line unicorn/no-await-expression-member
.filter(
({ subject }) => !subject.startsWith('Accept Merge Request'),
)
.map(({ abbrevHash, hash, subject }) => ({
hash,
abbrevHash,
Expand Down
2 changes: 1 addition & 1 deletion packages/notify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/notify",
"version": "0.3.18",
"version": "0.3.19",
"description": "Send releases notifications",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 2369fac

Please sign in to comment.