Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static indent(count: number, ...text: string[]): string {
return `${Theme.INDENT.padStart(count * Indent.Default)}${Theme.join(Wrapper.SPACE, ...text)}`;
}
TemplateToken.Bar,
Theme.join(
Wrapper.EMPTY,
blocks,
theme.paint(
Wrapper.EMPTY.padStart(this.width - length, this.incompleteBlock),
IndicationType.Subtask
)
)
);
this.tokens.forEach((value: string, key: string): void => {
result = result.replace(`:${key}`, value);
});
return this.badges ? Theme.join(Wrapper.SPACE, result, theme.badge(type)) : result;
}
}