Merge pull request 'Update src/bot-util.js' (#1) from fix/log into main
All checks were successful
Build and publish farmacia-bot images / Build and push client's image to Gitea's registry (push) Successful in 19s
Build and publish farmacia-bot images / deploy_ovh (push) Successful in 11s

Reviewed-on: #1
This commit is contained in:
mozempk 2025-04-23 15:35:38 +02:00
commit 8c212b05fb

View File

@ -6,7 +6,7 @@ let totalSuccess = 0;
let totalError = 0;
const startTime = Date.now();
const logsDir = 'logs';
const logsDir = path.join(__dirname, 'logs');
if (!fs.existsSync(logsDir)) {
fs.mkdirSync(logsDir);
}