Skip to content

Commit

Permalink
Fixing gitlab null error.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Nov 17, 2017
1 parent 54beae6 commit 8edf1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/gitlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class GitLab extends BaseProvider {

commits.push({
name: "Commit from " + commit.author.name,
value: "(" + "[`" + commit.id.substring(0, 7) + "`](" + commit.url + ")" + ") " + (message === null ? "" : message.replace(/\n/g, " ").replace(/\r/g, " ")),
value: "(" + "[`" + commit.id.substring(0, 7) + "`](" + commit.url + ")" + ") " + (message == null ? "" : message.replace(/\n/g, " ").replace(/\r/g, " ")),
inline: false
});
}
Expand Down

0 comments on commit 8edf1db

Please sign in to comment.