Reverse order of commits;
This commit is contained in:
parent
174aacba41
commit
0dc2a1c0b4
2
index.js
2
index.js
@ -80,7 +80,7 @@ var handlers = {
|
||||
say(msg);
|
||||
} else {
|
||||
var maybeS = numCommits === 1 ? '' : 's';
|
||||
var lastCommit = commits[commits.length - 1];
|
||||
var lastCommit = commits[0];
|
||||
var lastCommitMessage = lastCommit.message.trim().split('\n')[0].trim();
|
||||
shortenURL(lastCommit.url, function(shortUrl) {
|
||||
msg = 'push on ' + projectName + '@' + branchName + ' (by ' + user + '): ' +
|
||||
|
Loading…
Reference in New Issue
Block a user