mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
fix: make pre-commit hook fail on lint warnings, fix template literal warnings
- Add --error-on-warnings to biome check in root and web-ui package.json - Convert string concatenation to template literals in daxnuts.ts - Convert string concatenation to template literals in test file Fixes #1103
This commit is contained in:
parent
7eae0a7d30
commit
1bd68327f3
4 changed files with 5 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ function buildImage(): string[] {
|
|||
for (let x = 0; x < WIDTH; x++) {
|
||||
const top = pixels[row][x];
|
||||
const bottom = pixels[row + 1]?.[x] ?? top;
|
||||
line += rgb(bottom[0], bottom[1], bottom[2]) + rgb(top[0], top[1], top[2], true) + "▄";
|
||||
line += `${rgb(bottom[0], bottom[1], bottom[2])}${rgb(top[0], top[1], top[2], true)}▄`;
|
||||
}
|
||||
line += RESET;
|
||||
lines.push(line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue