Commit 22e05a8e authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 8bc75bc0
node run.js
\ No newline at end of file
...@@ -2,9 +2,9 @@ let fs = require('fs') ...@@ -2,9 +2,9 @@ let fs = require('fs')
let csv = require('./csv') let csv = require('./csv')
let _ = require('lodash') let _ = require('lodash')
test() run()
async function test() { async function run() {
let configs = await fs.readFileSync('./configs.json', 'utf8') let configs = await fs.readFileSync('./configs.json', 'utf8')
configs = JSON.parse(configs) configs = JSON.parse(configs)
let arr = [] let arr = []
...@@ -30,6 +30,7 @@ async function test() { ...@@ -30,6 +30,7 @@ async function test() {
createfile(JSON.stringify(arr2, null, 2)) createfile(JSON.stringify(arr2, null, 2))
console.log('Done') console.log('Done')
process.exit(0)
// console.log(d) // console.log(d)
} }
......
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