mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-21 21:52:07 +00:00
chore: remove console.log statements
This commit is contained in:
parent
0f6dcf9eb2
commit
2c9040904a
@ -63,11 +63,10 @@ module.exports = class BankLetter {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
fs.writeFileSync(path, letter);
|
fs.writeFileSync(path, letter);
|
||||||
console.log(`Data written to file on path '${path}'`);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`error while writing bank letter to path '${path}' with error ${error}`);
|
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Promise(resolve => resolve(true));
|
return new Promise(resolve => resolve(true));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -58,9 +58,7 @@ module.exports = dir => ({
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
fs.writeFileSync(path, this.traceData);
|
fs.writeFileSync(path, this.traceData);
|
||||||
console.log("Data written to file");
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user