generated from azures04/Base-REST-API
Update productsFileService.js
This commit is contained in:
parent
33482e0b41
commit
ac12432ebd
@ -31,7 +31,7 @@ async function getFileSha1(filePath) {
|
||||
}
|
||||
|
||||
async function getProductFiles(productName, platform) {
|
||||
const finalPath = path.join(productsDataPath, productName, platform)
|
||||
const finalPath = path.join(productsDataPath, productName, "files", platform)
|
||||
const files = await fs.promises.readdir(finalPath, { recursive: true })
|
||||
const productFilesIndex = { root: [] }
|
||||
for (const file of files) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user