()
| 87 | } |
| 88 | |
| 89 | function getSelectedArchiveFormat() { |
| 90 | const select = document.getElementById("archiveFormatSelect"); |
| 91 | const value = select ? String(select.value || "").toLowerCase() : "zip"; |
| 92 | return ARCHIVE_FORMATS.includes(value) ? value : "zip"; |
| 93 | } |
| 94 | |
| 95 | function normalizeArchiveName(raw, format) { |
| 96 | let name = String(raw || "").trim(); |
no outgoing calls
no test coverage detected