Commit 3fb8f0c7 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 675d1ab7
...@@ -7,6 +7,7 @@ async function init() { ...@@ -7,6 +7,7 @@ async function init() {
let files = await fs.readdirSync('RunRes') let files = await fs.readdirSync('RunRes')
let prom=[] let prom=[]
let arr=[]
for (let i = 0; i < files.length; i++) { for (let i = 0; i < files.length; i++) {
if (files[i].includes('.csv')) { if (files[i].includes('.csv')) {
...@@ -22,7 +23,7 @@ async function init() { ...@@ -22,7 +23,7 @@ async function init() {
} }
let r= await Promise.all(prom) let r= await Promise.all(prom)
console.log(r) // console.log(r)
} }
...@@ -30,6 +31,7 @@ async function init() { ...@@ -30,6 +31,7 @@ async function init() {
async function format(name) { async function format(name) {
let res = await fs.readFileSync('./RunRes/' + name, 'utf8'); let res = await fs.readFileSync('./RunRes/' + name, 'utf8');
res = res.split('\r') res = res.split('\r')
console.log(res)
return res return res
} }
......
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