File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export function createFormatter(dependencies: {
40
40
let options =
41
41
( await resolveConfig ( ".prettierrc" ) ) ??
42
42
( await resolveConfig ( "prettier.config.js" ) ) ;
43
- logger . log ( "formatter" , `formatter options: ${ JSON . stringify ( options ) } ` ) ;
43
+ // logger.log("formatter", `formatter options: ${JSON.stringify(options)}`);
44
44
let checks = await Promise . all ( files . map ( runFile ) ) ;
45
45
return ! checks . some ( ( c ) => ! c ) ;
46
46
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export function createLinter(dependencies: {
110
110
running = false ;
111
111
logger . log (
112
112
"linter" ,
113
- response . finished . success
113
+ response . finished . success && errors === 0
114
114
? "All files are ok"
115
115
: `${ errors } Linting problems found, ${ fixable } ${
116
116
fix ? "fixed" : "fixable"
You can’t perform that action at this time.
0 commit comments