Use typed JSONL filename detection in SSD ZIP import
ober
91c2fb975f44d003be07f108058cb000f3427ebf
--- a/templates/ssd-review.ss +++ b/templates/ssd-review.ss @@ -8347,7 +8347,7 @@ " private fun installStagedZipEntry(entry: StagedZipEntry): Boolean {" " val destination = containedImportPath(entry.name)" " val bytes = entry._file.inputStream().use { readBoundedBytes(it, MAX_ZIP_ENTRY_BYTES) }" - " return if (entry.name.endsWith(\".jsonl\")) {" + " return if (jsonLinesFileName(entry.name)) {" " val before = if (fileExists(destination)) readLocalText(destination) else \"\"" " mergeJsonLines(destination, bytes.decodeToString())" " !fileExists(destination) || readLocalText(destination) != before"