Compare commits

...

2 Commits

Author SHA1 Message Date
8c212b05fb 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
2025-04-23 15:35:38 +02:00
41c068b410 Update src/bot-util.js 2025-04-23 15:35:14 +02:00

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);
}