Skip to content

Commit

Permalink
solving outputing unnecessary spaces
Browse files Browse the repository at this point in the history
`…` is causing terminals like git bash on windows to output unnecessary spaces
  • Loading branch information
a1mersnow committed Aug 28, 2018
1 parent 76c3193 commit 7996883
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 7996883

Please sign in to comment.