export function setStatus(path, html, state, elements) { const index = state.files.findIndex((file) => file.name === path); const cell = elements.tableBodyEl.querySelector(`#st-${index}`); if (cell) cell.innerHTML = html; }