From d83856be3220b79890fc1e1ffd4915e51c38d184 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 17 Aug 2014 03:14:26 +0200 Subject: [PATCH] Update build process. --- makefile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makefile.js b/makefile.js index 0533f147..31ba28e2 100644 --- a/makefile.js +++ b/makefile.js @@ -31,9 +31,8 @@ module.exports = function (make) { if (err) { callback(); } else { - var lines = out.split(/\r?\n/); - var count = lines.length - 1; - callback('+' + count + '~' + lines[0].substring(0, 7)); + var lines = out.trim().split(/\r?\n/); + callback('+' + lines.length + '~' + lines[0].substring(0, 7)); } }); }