Make CI hopefully happy

This commit is contained in:
Eris Lund 2025-11-11 11:17:17 +01:00 committed by GitHub
parent 160264290f
commit 60e4b00d0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ export interface TracksState {
function massageKhz(khz: number) {
let finalKhz: String;
let khzNum: number = Math.round(khz / 1000);
const khzNum: number = Math.round(khz / 1000);
// there is no real need to run a condition for below 100khz
// when the other conditions (hopefully) take over
@ -21,7 +21,7 @@ function massageKhz(khz: number) {
function massageKbps(kbps: number) {
let finalKbps: String;
let bitrateNum: number = Math.round(kbps / 1000);
const bitrateNum: number = Math.round(kbps / 1000);
finalKbps = String(bitrateNum); // present as is
if (bitrateNum <= 100) finalKbps = String(bitrateNum).padStart(3, " ");