Commit aea68ce0 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 5677378d
......@@ -10,18 +10,18 @@ async function init() {
let arr = []
let files = await fs.readdirSync('E:\\fail\\btc7')
let files = await fs.readdirSync('E:\\fail\\btc1')
for (let i = 0; i < files.length; i++) {
if (!files[i].includes('.csv'))
continue
arr.push(read('E:\\fail\\btc7\\' + files[i], files[i]))
arr.push(read('E:\\fail\\btc1\\' + files[i], files[i]))
}
let files2 = await fs.readdirSync('E:\\fail\\btc8')
let files2 = await fs.readdirSync('E:\\fail\\btc2')
for (let i = 0; i < files2.length; i++) {
if (!files2[i].includes('.csv'))
continue
arr.push(read('E:\\fail\\btc8\\' + files2[i], files2[i]))
arr.push(read('E:\\fail\\btc2\\' + files2[i], files2[i]))
}
arr = 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