mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Rename _.truncate to _.trunc to align with ES6.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user