adds trim

This commit is contained in:
André Michelle
2025-12-10 09:35:23 +01:00
parent 2203c151b5
commit 6d5c19b211
+1 -1
View File
@@ -79,7 +79,7 @@ RewriteRule ^(.*)$ ${mainReleaseDir}/$1 [L]
throw new Error(`Extraction failed: ${extractResponse.status} - ${extractText}`)
}
// Verify extraction was fully successful (must start with ✅, not ⚠️)
if (!extractText.startsWith("✅")) {
if (!extractText.trim().startsWith("✅")) {
throw new Error(`Extraction incomplete: ${extractText}`)
}