Skip to content

Commit

Permalink
fix: handle types in uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Mar 17, 2023
1 parent bd3fe69 commit 94af0c3
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 490 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28250,6 +28250,7 @@ async function main () {
const cAst = cc.toConventionalChangelogFormat(cc.parser(commit.commit.message))
commitsParsed.push({
...cAst,
type: cAst.type.toLowerCase(),
sha: commit.sha,
url: commit.html_url,
author: commit.author.login,
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ async function main () {
const cAst = cc.toConventionalChangelogFormat(cc.parser(commit.commit.message))
commitsParsed.push({
...cAst,
type: cAst.type.toLowerCase(),
sha: commit.sha,
url: commit.html_url,
author: commit.author.login,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@conventional-commits/parser": "0.4.1",
"jest": "29.3.1",
"jest": "29.5.0",
"lodash": "4.17.21"
},
"devDependencies": {
"@vercel/ncc": "0.34.0",
"eslint": "8.27.0",
"@vercel/ncc": "0.36.1",
"eslint": "8.36.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1"
}
Expand Down
Loading

0 comments on commit 94af0c3

Please sign in to comment.