Update build process.

This commit is contained in:
Lars Jung 2014-08-17 03:14:26 +02:00
parent 83558e9354
commit d83856be32

View file

@ -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));
}
});
}