fix(events/developper): now using the correct fd / console methode

This commit is contained in:
Raphael 2025-10-26 17:49:26 +01:00 committed by Raphaël
parent 3571cd8bb7
commit 6b62e8e24e
3 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,8 @@ export default {
name: Events.Debug, name: Events.Debug,
once: false, once: false,
async execute(info: string) { async execute(info: string) {
if (isDebug) {console.debug(chalk.blueBright('🔍 |', info));} if (isDebug) {
console.debug(chalk.blueBright('🔍 |', info));
}
}, },
}; };

View file

@ -5,6 +5,6 @@ export default {
name: Events.Error, name: Events.Error,
once: false, once: false,
async execute(error: string) { async execute(error: string) {
console.debug(chalk.yellow('❌ |', error)); console.error(chalk.red('❌ |', error));
}, },
}; };

View file

@ -5,6 +5,6 @@ export default {
name: Events.Warn, name: Events.Warn,
once: false, once: false,
async execute(warn: string) { async execute(warn: string) {
console.debug(chalk.yellow('⚠️ |', warn)); console.warn(chalk.yellow('⚠️ |', warn));
}, },
}; };