fix(lint): use errors instead of warnings, refactor log impl (#1170)
This commit is contained in:
1 parent
1a18410a1f
commit
fd457b15f7
6 files changed
+44
-31
No files matched your search
@@ -49,10 +49,9 @@ for await (const entry of stylesheets) {
|
||||
less.render(content, { lint: true, globalVars: globalVars }).catch(
|
||||
(err: Less.RenderError) => {
|
||||
failed = true;
|
||||
log(
|
||||
log.error(
|
||||
err.message,
|
||||
{ file, startLine: err.line, endLine: err.line, content },
|
||||
"error",
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user