Commit f29fd230 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 5c618419
......@@ -52,7 +52,7 @@ async function run() {
}
console.log(adder)
createConfileADV(JSON.stringify(adder, null, 2))
......@@ -105,7 +105,7 @@ function createfileADV(data) {
function createConfileADV(data) {
// console.log(data)
return new Promise(function (resolve, reject) {
fs.writeFile('con1.json', data, 'utf8', function (err) {
fs.writeFile('con3.json', data, 'utf8', function (err) {
if (err) reject(err);
else resolve(data);
});
......
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