diff --git a/src/lib/zip/fallback/listFiles.ts b/src/lib/zip/fallback/listFiles.ts index 0fc97152..dca20674 100644 --- a/src/lib/zip/fallback/listFiles.ts +++ b/src/lib/zip/fallback/listFiles.ts @@ -23,6 +23,5 @@ export async function listFiles(workspace: string) { } await explorePath(workspace); - console.log('files', files); return files; } diff --git a/src/lib/zip/zip.tsx b/src/lib/zip/zip.tsx index 28c6636c..850c410a 100644 --- a/src/lib/zip/zip.tsx +++ b/src/lib/zip/zip.tsx @@ -72,7 +72,7 @@ class ZipHandler { this.addCombinedHTMLToFiles(paying, settings); } catch (error: unknown) { - this.handleZipError(error, zipData, paying); + await this.handleZipError(error, zipData, paying); } } @@ -128,7 +128,7 @@ ${this.combinedHTML} if (isArchiveProcessingError) { const foundFiles = await processAndPrepareArchiveData(zipData, paying); this.files.push(...foundFiles); - console.log('Processed files using fallback method:', this.files); + console.log('Processed files using fallback method:'); } else { throw error; }