Skip to content

Commit

Permalink
One more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBusyBiscuit committed May 13, 2020
1 parent 35c142d commit b580270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fancier-discord-webhooks",
"version": "1.0.0",
"version": "1.3.0",
"description": "This GitHub Action can produce fancy and more meaningful discord messages for your commits. It includes Test results and coverage.",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function getChangeLog(commits, size) {

var commit = commits[i];
var sha = commit.sha.substring(0, 5);
var message = commit.commit.message.length > 32 ? commit.commit.message.substring(0, 32): commit.commit.message;
var message = commit.commit.message.length > 32 ? commit.message.substring(0, 32): commit.message;
changelog += `\`${sha}\` ${message} (@${commit.committer.login})\n`;
}

Expand Down

0 comments on commit b580270

Please sign in to comment.