Commit 84f1d544 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent c5ca97e8
...@@ -13,6 +13,8 @@ async function init() ...@@ -13,6 +13,8 @@ async function init()
com = JSON.parse(com) com = JSON.parse(com)
for (let i=0;i<com.length;i++) for (let i=0;i<com.length;i++)
{ {
com[i].platform=com[i].platform.split('-')[1]
await fs.copyFileSync('files/' + pair+'/'+com[i].platform, 'allFiles' + '/' + 'last.json' + '-' +com[i].platform ) 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