Skip to content

Commit

Permalink
fix: Fix undefined get commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 7, 2021
1 parent 8ee314e commit 4d7b5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function run() {
core.endGroup();
changelog += formatStringCommit(message, `${owner}/${repo}`, {
regExp, shortHash: data.sha.slice(0, 7), filterAuthor, hash: data.sha, author: data.commit.author.name
});
}) || '';
}

let tagRef = '';
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function run() {
core.endGroup();
changelog += formatStringCommit(message, `${owner}/${repo}`, {
regExp, shortHash: data.sha.slice(0, 7), filterAuthor, hash: data.sha, author: data.commit.author.name
});
}) || '';
}

let tagRef = '';
Expand Down

0 comments on commit 4d7b5ca

Please sign in to comment.