Skip to content

Commit

Permalink
Merge pull request #7961 from aimergenge/patch-1
Browse files Browse the repository at this point in the history
solving outputing unnecessary spaces
  • Loading branch information
sokra committed Sep 2, 2018
2 parents 3dedc72 + 7996883 commit 80bc330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProgressPlugin.js
Expand Up @@ -24,7 +24,7 @@ const createDefaultHandler = profile => {
for (let detail of details) {
if (!detail) continue;
if (detail.length > 40) {
detail = `${detail.substr(detail.length - 39)}`;
detail = `...${detail.substr(detail.length - 39)}`;
}
msg += ` ${detail}`;
}
Expand Down

0 comments on commit 80bc330

Please sign in to comment.