missing +;
This commit is contained in:
parent
7229764f18
commit
d04460ce98
2
index.js
2
index.js
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user