fix(lint): use errors instead of warnings, refactor log impl (#1170)

This commit is contained in:
uncenter authored and GitHub committed 2024-08-07 08:47:13 -04:00
1 parent 1a18410a1f
commit fd457b15f7
6 files changed
+44 -31

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ export const checkForMissingFiles = async () => {
.write();
} else {
missingFiles.map((f) => {
log(color.red(`Missing file:`) + ` ${f}`, { file: f }, "error");
log.error(color.red(`Missing file:`) + ` ${f}`, { file: f });
});
}