Commit ccae9ca9 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent bf5be7c4
......@@ -35,10 +35,8 @@ async function init() {
let res = await fs.readFileSync('plat.json', 'utf8');
res=JSON.parse(res)
let newArr=[]
for (let i=0;i<res.length;i++)
{
console.log('checked '+i+'/'+res.length)
let allPlatforms=res[i].AllPlatfrom
let allPlatforms=res[0].AllPlatfrom
let dataFile=[]
for (let j=0;j<allPlatforms.length;j++)
{
......@@ -49,12 +47,9 @@ async function init() {
console.log(file , config)
dataFile.push(data)
}
console.log('hi')
res[i].config=dataFile
}
console.log(res[0].config[0])
console.log(dataFile[0])
}
......
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