From 9b0fcde3bd8364391e7091b020307ef0add198d1 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Sat, 16 Jul 2016 19:33:56 +0200 Subject: [PATCH] Remove remainders of previous api work; --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index ae532c5..4fabdcf 100644 --- a/index.js +++ b/index.js @@ -71,10 +71,8 @@ var handlers = { var lastCommit = commits[0]; shortenURL(lastCommit.url, function(shortUrl) { - if (!err) { - msg.push('last commit: ' + lastCommit.message + ' : ' + shortUrl); - say(msg); - } + msg.push('last commit: ' + lastCommit.message + ' : ' + shortUrl); + say(msg); }); } },