fix(registry): replace one %s placeholder per log argument

This commit is contained in:
Will Miao
2026-08-20 22:36:50 +08:00
parent 3ebf256c5d
commit ae461ebc81
+1 -1
View File
@@ -316,7 +316,7 @@ app.registerExtension({
const ts = new Date().toISOString().slice(11, 23);
let msg = format;
for (const arg of args) {
msg = msg.replace(/%s/g, String(arg));
msg = msg.replace(/%s/, String(arg));
}
console.debug(`[LM:Registry ${ts}] ${msg}`);
},