1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

chore(specs): specs added for deploy upload file and zipped file

This commit is contained in:
Saad Jutt
2022-06-16 17:58:56 +05:00
parent b81d742c6c
commit 4e7579dc10
4 changed files with 319 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ export const extractJSONFromZip = async (zipFile: Express.Multer.File) => {
const fileName = entry.path as string
if (fileName.toUpperCase().endsWith('.JSON') && fileName === fileInZip) {
fileContent = await entry.buffer()
break
} else {
entry.autodrain()
}