Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
output += this.rainbows[1].join('');
output += ' ';
output += style.magenta(` |${tick ? ' .' : ' . '}`);
output += style.gray('/\\_/\\');
output += '\n';
// Face
output += this.rainbows[2].join('');
output += ' ';
if (tick) {
output += style.gray('~');
output += style.magenta('|_');
} else {
output += style.gray('^');
output += style.magenta('|__');
}
output += style.gray(this.getCatFace());
output += '\n';
// Feet
output += this.rainbows[3].join('');
output += ' ';
if (tick) {
output += style.gray(' " "" "');
} else {
output += style.gray(' "" ""');
}
output += '\n';
output += '\n';
// Ears
output += this.rainbows[1].join('');
output += ' ';
output += style.magenta(` |${tick ? ' .' : ' . '}`);
output += style.gray('/\\_/\\');
output += '\n';
// Face
output += this.rainbows[2].join('');
output += ' ';
if (tick) {
output += style.gray('~');
output += style.magenta('|_');
} else {
output += style.gray('^');
output += style.magenta('|__');
}
output += style.gray(this.getCatFace());
output += '\n';
// Feet
output += this.rainbows[3].join('');
output += ' ';
if (tick) {
output += style.gray(' " "" "');
} else {
output += style.gray(' "" ""');
renderLines(): string {
this.increaseTick();
this.increaseRainbowWidth();
const tick = this.isInterval();
let output = '\n';
// Poptart
output += this.rainbows[0].join('');
output += ' ';
output += style.magenta(' ,------,');
output += '\n';
// Ears
output += this.rainbows[1].join('');
output += ' ';
output += style.magenta(` |${tick ? ' .' : ' . '}`);
output += style.gray('/\\_/\\');
output += '\n';
// Face
output += this.rainbows[2].join('');
output += ' ';
if (tick) {
output += style.gray('~');
output += style.magenta('|_');
this.increaseTick();
this.increaseRainbowWidth();
const tick = this.isInterval();
let output = '\n';
// Poptart
output += this.rainbows[0].join('');
output += ' ';
output += style.magenta(' ,------,');
output += '\n';
// Ears
output += this.rainbows[1].join('');
output += ' ';
output += style.magenta(` |${tick ? ' .' : ' . '}`);
output += style.gray('/\\_/\\');
output += '\n';
// Face
output += this.rainbows[2].join('');
output += ' ';
if (tick) {
output += style.gray('~');
output += style.magenta('|_');
} else {
output += style.gray('^');
output += style.magenta('|__');
}
output += style.gray(this.getCatFace());