Commit 23d331ee authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 6ab1016e
...@@ -196,7 +196,7 @@ function found(indicator,pair, lp) { ...@@ -196,7 +196,7 @@ function found(indicator,pair, lp) {
function createConfigYashilADV(name,data) { function createConfigYashilADV(name,data) {
// console.log(data) // console.log(data)
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
fs.writeFile(pairs + 'YConfig/'+name+'.csv', data, 'utf8', function (err) { fs.writeFile( 'YConfig/'+name+'.csv', data, 'utf8', function (err) {
if (err) reject(err); if (err) reject(err);
else resolve(data); 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