Commit 0b70c0b7 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 808c3e8d
...@@ -132,7 +132,7 @@ async function appendCsvtoMain(data, config) { ...@@ -132,7 +132,7 @@ async function appendCsvtoMain(data, config) {
function appendtoFile(name,data) function appendtoFile(name,data)
{ {
fs.appendFile('E:\\YashilFinal\\'+name, data + '\n', function (err) { fs.appendFile('YashilFinal\\'+name, data + '\n', function (err) {
if (err) throw err; if (err) throw err;
}); });
...@@ -147,7 +147,7 @@ function getPercent(basePrice, value) { ...@@ -147,7 +147,7 @@ function getPercent(basePrice, value) {
async function init() { async function init() {
files = await fs.readdirSync('E:\\YashilFinal') files = await fs.readdirSync('YashilFinal')
client.on('error', (err) => console.log('Redis Client Error', err)); client.on('error', (err) => console.log('Redis Client Error', err));
await client.connect(); await client.connect();
......
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