Skip to content

Commit d021cbf

Browse files
committed
Fix: Fixed linting issues.
1 parent bbccbc1 commit d021cbf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/core/src/browser/shell/tab-bars.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -644,10 +644,8 @@ export class TabBarRenderer extends TabBar.Renderer {
644644
} else if (title.caption) {
645645
const position = this.tabBar.orientation === 'horizontal' ? 'bottom' : 'right';
646646
const tooltip = ArrayUtils.coalesce([title.caption, ...this.getDecorationData(title, 'tooltip')]).join(' - ');
647-
// Preserve multiple consecutive spaces by replacing with non-breaking spaces
648-
const preservedTooltip = tooltip.replace(/ {2,}/g, (match) =>
649-
"\u00A0".repeat(match.length),
650-
);
647+
// Preserve multiple consecutive spaces by replacing with non-breaking spaces
648+
const preservedTooltip = tooltip.replace(/ {2,}/g, (match) => "\u00A0".repeat(match.length));
651649
this.hoverService.requestHover({
652650
content: preservedTooltip,
653651
target: event.currentTarget,

0 commit comments

Comments
 (0)