Skip to content

Commit

Permalink
fix: add missing (
Browse files Browse the repository at this point in the history
  • Loading branch information
Klemensas committed Mar 8, 2020
1 parent 65494cf commit 0df6de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function run() {
.map(
commit =>
structure
.replace(/({{message}})|{{messageHeadline}})|({{author}})|({{sha}})/g, (match, message, messageHeadline, author, sha) => {
.replace(/({{message}})|({{messageHeadline}})|({{author}})|({{sha}})/g, (match, message, messageHeadline, author, sha) => {
if (message) return commit.commit.message
if (messageHeadline) return commit.commit.messageHeadline
if (author) return !commit.hasOwnProperty('author') || !commit.author.hasOwnProperty('login') ? '' : commit.author.login
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "autotag-action",
"version": "1.2.0",
"version": "1.2.2",
"private": true,
"description": "Automatically create a tag whenever the version changes in package.json",
"main": "lib/main.js",
Expand Down

0 comments on commit 0df6de5

Please sign in to comment.