mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 10:30:15 +02:00
Update build process.
This commit is contained in:
@@ -31,9 +31,8 @@ module.exports = function (make) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
callback();
|
callback();
|
||||||
} else {
|
} else {
|
||||||
var lines = out.split(/\r?\n/);
|
var lines = out.trim().split(/\r?\n/);
|
||||||
var count = lines.length - 1;
|
callback('+' + lines.length + '~' + lines[0].substring(0, 7));
|
||||||
callback('+' + count + '~' + lines[0].substring(0, 7));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user