mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
parent
1431bd3d90
commit
df11fb12ce
@ -51,7 +51,7 @@ const verify = [
|
||||
|
||||
self.init = async () => {
|
||||
// Check & create directories
|
||||
await Promise.all(verify.map(async p => {
|
||||
for (const p of verify)
|
||||
try {
|
||||
await self.access(p)
|
||||
} catch (err) {
|
||||
@ -63,7 +63,6 @@ self.init = async () => {
|
||||
logger.log(`Created directory: ${p}`)
|
||||
}
|
||||
}
|
||||
}))
|
||||
|
||||
// Purge any leftover in chunks directory
|
||||
const uuidDirs = await self.readdir(self.chunks)
|
||||
|
Loading…
Reference in New Issue
Block a user