Commit 502e4d86 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 5bcd3fb2
......@@ -82,10 +82,12 @@ function grabData(data) {
async function checker() {
let arr = []
console.log('check')
let files = await fs.readdirSync(path)
for (let i = 0; i < files.length; i++) {
if (!files[i].includes('Lp1') || !files[i].includes('Lp2') || !files[i].includes('Lp3') || !files[i].includes('Lp4') || !files[i].includes('Lp5'))
continue
arr.push(make(files[i]))
}
await Promise.all(arr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment