chore: remove console.log statements

This commit is contained in:
Vladislav Hristov 2019-10-08 16:09:08 +03:00
parent 0f6dcf9eb2
commit 2c9040904a
2 changed files with 1 additions and 4 deletions

View File

@ -63,11 +63,10 @@ module.exports = class BankLetter {
try {
fs.writeFileSync(path, letter);
console.log(`Data written to file on path '${path}'`);
} catch (error) {
console.error(`error while writing bank letter to path '${path}' with error ${error}`);
throw error;
}
return new Promise(resolve => resolve(true));
}
};

View File

@ -58,9 +58,7 @@ module.exports = dir => ({
try {
fs.writeFileSync(path, this.traceData);
console.log("Data written to file");
} catch (error) {
console.log(error);
throw error;
}
},