Commit 5677378d authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 5b0ef143
......@@ -53,7 +53,8 @@ async function print()
text=text+'\n'
}
console.log(text)
// console.log(text)
printFile(all[i].uniq,text)
}
}
......@@ -132,10 +133,10 @@ function capital(t) {
return f
}
function createRunResfileADV(data) {
function printFile(name,data) {
// console.log(data)
return new Promise(function (resolve, reject) {
fs.writeFile(pairs + '_TOP.csv', data, 'utf8', function (err) {
fs.writeFile('E:\\fail\\btc3\\'+name+'.csv', 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