Use error log level, prefix messages

This commit is contained in:
mschae23
2025-09-24 00:35:52 +02:00
parent ebc323a83b
commit 7c61c8b44e
2 changed files with 3 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ function compileConfig(config: string): AdvancedSkipRule[] | null {
const { rules, errors } = parseConfig(config);
for (const error of errors) {
console.log(`Error on line ${error.span.start.line}: ${error.message}`);
console.error(`[SB] Error on line ${error.span.start.line}: ${error.message}`);
}
if (errors.length === 0) {