Commit 5e482336 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent d5a1ef0f
......@@ -40,9 +40,12 @@ function makeStatus(directory) {
async function check() {
let files = await fs.readdirSync('allFiles')
if (files.length ===0)
process.exit(0)
let size = await fs.read
for (let i = 0; i < files.length; i++) {
if (!files[i].includes('csv')) {
await fs.unlinkSync('allFiles/' + files[i])
continue
......
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