From 60a75d12b016522d3148bb822f6468994b99de9f Mon Sep 17 00:00:00 2001 From: andrew rumble Date: Tue, 18 Jun 2024 09:19:29 +0100 Subject: [PATCH] Rename files to reflect refactoring elsewhere GitOrigin-RevId: 335f876913b7868cf69dcd55dd156261edd98945 --- services/clsi/app/js/OutputFileArchiveManager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/clsi/app/js/OutputFileArchiveManager.js b/services/clsi/app/js/OutputFileArchiveManager.js index 5c7902a468..a92a029451 100644 --- a/services/clsi/app/js/OutputFileArchiveManager.js +++ b/services/clsi/app/js/OutputFileArchiveManager.js @@ -24,16 +24,18 @@ function getContentDir(projectId, userId) { module.exports = { async archiveFilesForBuild(projectId, userId, build) { logger.debug({ projectId, userId, build }, 'Will create zip file') - const validFiles = await this._getAllOutputFiles(projectId, userId, build) + + const outputFiles = await this._getAllOutputFiles(projectId, userId, build) const archive = archiver('zip') archive.on('error', err => { logger.warn({ err }, 'error emitted when creating output files archive') }) + const missingFiles = [] - for (const file of validFiles) { + for (const file of outputFiles) { let fileHandle try {