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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user