Failed to ignore revisions in .git-blame-ignore-revs.
function truncate(str, num) {
if (str.length > num) {
return str.slice(0, num) + "...";
} else {
return str;
}
export default truncate;