in src/export-backend-asset-handler/index.ts [360:371]
private validateFilesAndReturnPath(filePath: string): string {
const allFiles = fs.readdirSync(filePath);
if (allFiles?.length > 1) {
throw new Error();
}
const zipFile = allFiles.find((file) => path.extname(file) === '.zip');
if (zipFile) {
return zipFile;
}
throw new Error('Zip file not found for category');
}