(logs)
| 1338 | } |
| 1339 | |
| 1340 | function appendVendorLogs(logs) { |
| 1341 | if (!Array.isArray(logs) || !logs.length) return; |
| 1342 | const logBox = document.getElementById("vendor-progress-log"); |
| 1343 | if (!logBox) return; |
| 1344 | const lines = logs.map((item) => `[${item?.time || "--:--:--"}] ${item?.message || ""}`); |
| 1345 | const existing = String(logBox.textContent || "").trim(); |
| 1346 | logBox.textContent = existing ? `${existing}\n${lines.join("\n")}` : lines.join("\n"); |
| 1347 | logBox.scrollTop = logBox.scrollHeight; |
| 1348 | } |
| 1349 | |
| 1350 | function updateVendorRuntimeHint(progressPayload = {}, status = "running") { |
| 1351 | const runtime = document.getElementById("vendor-progress-runtime"); |
no outgoing calls
no test coverage detected