Skip to content

Commit

Permalink
Merge pull request #1134 from glimmerjs/bugfix/fix-array-string-repeat
Browse files Browse the repository at this point in the history
[BUGFIX] Fix string repeat
  • Loading branch information
Chris Garrett authored Aug 19, 2020
2 parents 7f53b15 + c1c0ca5 commit 91a4c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@glimmer/validator/lib/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if (DEBUG) {
}

// TODO: Use String.prototype.repeat here once we can drop support for IE11
return trackingStack.map((label, index) => Array(2 * index).join(' ') + label).join('\n');
return trackingStack.map((label, index) => Array(2 * index + 1).join(' ') + label).join('\n');
};

markTagAsConsumed = (_tag: Tag) => {
Expand Down

0 comments on commit 91a4c46

Please sign in to comment.