Rename _.truncate to _.trunc to align with ES6.

This commit is contained in:
John-David Dalton
2014-05-30 12:26:52 -04:00
parent 95db668c3c
commit f4a1573586
4 changed files with 25 additions and 25 deletions

View File

@@ -265,7 +265,7 @@ function isJobId(value) {
*/
function logInline(text) {
var blankLine = _.repeat(' ', _.size(prevLine));
prevLine = text = _.truncate(text, 40);
prevLine = text = _.trunc(text, 40);
process.stdout.write(text + blankLine.slice(text.length) + '\r');
}