missing +;

This commit is contained in:
Benjamin Bouvier 2017-08-30 00:19:21 +02:00
parent 7229764f18
commit d04460ce98

View File

@ -102,7 +102,7 @@ var handlers = {
var lastCommit = commits[commits.length - 1]; var lastCommit = commits[commits.length - 1];
var lastCommitMessage = lastCommit.message.trim().split('\n')[0].trim(); var lastCommitMessage = lastCommit.message.trim().split('\n')[0].trim();
shortenURL(lastCommit.url, function(shortUrl) { shortenURL(lastCommit.url, function(shortUrl) {
msg = user ' pushed on ' + projectName + '@' + branchName + ': '; msg = user + ' pushed on ' + projectName + '@' + branchName + ': ';
if (numCommits === 1) { if (numCommits === 1) {
msg += lastCommitMessage + ' ' + shortUrl; msg += lastCommitMessage + ' ' + shortUrl;
} else { } else {