Commit c2cd3ec8 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f80f2178
const fs = require('fs')
let moment = require('moment-timezone')
let _ = require('lodash')
const uuid=require('uniqid')
let pair='BNB'
let res
init()
async function init()
{
let com = await fs.readFileSync('com.json', 'utf8');
com = JSON.parse(com)
for (let i=0;i<com.length;i++)
{
await fs.copyFileSync('files/' + pair+'/'+com[i].platform, 'allFiles' + '/' + 'last.json' + '-' +com[i].platform )
}
}
\ No newline at end of file
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