Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

Commit

Permalink
Declaring the ret variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyajit Thadeshwar committed Jul 7, 2016
1 parent 57111ff commit 617f9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function truncate(str, desiredLength, truncateChar){
}
desiredLength -= strlen(truncateChar);

ret = truncateWidthWithAnsi(str, desiredLength);
var ret = truncateWidthWithAnsi(str, desiredLength);

return ret + truncateChar;
}
Expand Down

0 comments on commit 617f9cc

Please sign in to comment.