Sv443 před 1 měsícem
rodič
revize
692d6cad9e
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 1
      src/features/lyricsCache.ts
  2. 0 1
      src/tools/post-build.ts

+ 1 - 1
src/features/lyricsCache.ts

@@ -112,7 +112,7 @@ export function addLyricsCacheEntryBest(artist: string, song: string, url: strin
   // always keep the cache <= max size
   cache.splice(getFeature("lyricsCacheMaxSize"));
 
-  log(`Added lyrics cache entry for best result:`, entry);
+  log("Added lyrics cache entry for best result:", entry);
 
   emitInterface("bytm:lyricsCacheEntryAdded", { entry, type: "best" });
   return lyricsCacheMgr.setData({ cache });

+ 0 - 1
src/tools/post-build.ts

@@ -4,7 +4,6 @@ import { fileURLToPath } from "node:url";
 import { exec } from "node:child_process";
 import { createHash } from "node:crypto";
 import { createReadStream } from "node:fs";
-import type { Stream } from "node:stream";
 import k from "kleur";
 import "dotenv/config";
 import type { RollupArgs } from "../types.js";