Permalink
Browse files

Fixed travis display of long lines

  • Loading branch information...
1 parent 5c73bd7 commit 077fd610a6ec7497977a67b4d7fc5e470454fbf0 @davglass davglass committed Oct 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/cmds/travis.js
View
@@ -51,11 +51,12 @@ mods = {
}, function(err, body) {
var json = body.body,
+ message = json.message.split('\n')[0],
sha = json.commit.substring(0, 7);
console.log(' ', 'Compare: ', json.compare_url);
console.log(' ', ((json.status) ? log.bad : ((json.status === null) ? log.progress : log.good)), sha, '(' + json.branch + ')',
- json.message, '(' + json.author_name + ' <' + json.author_email + '>)', '(' + json.state + ')');
+ message, '(' + json.author_name + ' <' + json.author_email + '>)', '(' + json.state + ')');
json.matrix.forEach(function(m) {
var lang = m.config.language;
console.log(' ', ((m.result) ? log.bad : ((m.result === null) ? log.progress : log.good)),

0 comments on commit 077fd61

Please sign in to comment.