Commit bd95cc19 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 57c69352
...@@ -134,6 +134,7 @@ async function copyAllFiles() { ...@@ -134,6 +134,7 @@ async function copyAllFiles() {
obj.csvFile = res[i].platform.split('-')[1] obj.csvFile = res[i].platform.split('-')[1]
obj.check = res[i].platform + '&' + res[i].type obj.check = res[i].platform + '&' + res[i].type
arr.push(obj.check) arr.push(obj.check)
await fs.copyFileSync('files/' + obj.csvFile, 'allFiles' + '/' + obj.configFile + '-' + obj.csvFile)
} }
...@@ -145,7 +146,7 @@ async function copyAllFiles() { ...@@ -145,7 +146,7 @@ async function copyAllFiles() {
// //
// //
// console.log('files/' + obj.csvFile) // console.log('files/' + obj.csvFile)
await fs.copyFileSync('files/' + obj.csvFile, 'allFiles' + '/' + obj.configFile + '-' + obj.csvFile)
// //
// //
// } // }
......
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