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

chore(lint): fixed lint issue

This commit is contained in:
Yury
2024-10-29 11:30:05 +03:00
parent ffcf193b87
commit 76750e864d

View File

@@ -51,8 +51,9 @@ export const generateFileUploadSasCode = async (
let fileCount = 0 let fileCount = 0
const uploadedFiles: UploadedFiles[] = [] const uploadedFiles: UploadedFiles[] = []
const sasSessionFolderList: string[] = const sasSessionFolderList: string[] = await listFilesInFolder(
await listFilesInFolder(sasSessionFolder) sasSessionFolder
)
sasSessionFolderList.forEach((fileName) => { sasSessionFolderList.forEach((fileName) => {
let fileCountString = fileCount < 100 ? '0' + fileCount : fileCount let fileCountString = fileCount < 100 ? '0' + fileCount : fileCount
fileCountString = fileCount < 10 ? '00' + fileCount : fileCount fileCountString = fileCount < 10 ? '00' + fileCount : fileCount