diff --git a/packages/notify/lib/utils.mjs b/packages/notify/lib/utils.mjs index c02d1ef..e8eb7b8 100644 --- a/packages/notify/lib/utils.mjs +++ b/packages/notify/lib/utils.mjs @@ -122,19 +122,17 @@ function getCommits() { : sortBy( Object.entries( groupBy( - gitlog - .default({ - repo: '.', - since: GIT_PREVIOUS_COMMIT, - until: GIT_COMMIT, - fields: ['hash', 'abbrevHash', 'subject'], - }) - .map(({ abbrevHash, hash, subject }) => ({ - hash, - abbrevHash, - message: sync(subject), - subject, - })), + gitlog({ + repo: '.', + since: GIT_PREVIOUS_COMMIT, + until: GIT_COMMIT, + fields: ['hash', 'abbrevHash', 'subject'], + }).map(({ abbrevHash, hash, subject }) => ({ + hash, + abbrevHash, + message: sync(subject), + subject, + })), ({ message }) => message.type, ), ), diff --git a/packages/notify/package.json b/packages/notify/package.json index 4918c21..1ace30f 100644 --- a/packages/notify/package.json +++ b/packages/notify/package.json @@ -1,6 +1,6 @@ { "name": "@bring-it/notify", - "version": "0.2.1", + "version": "0.2.2", "description": "Send releases notifications", "license": "MIT", "author": {