perf: format code with better style (#5283)
This commit is contained in:
@@ -113,11 +113,11 @@ async function runPublint(files: string[], { check }: PubLintCommandOptions) {
|
||||
}
|
||||
|
||||
function printResult(
|
||||
results: Array<{
|
||||
results: Array<null | {
|
||||
pkgJson: Record<string, number | string>;
|
||||
pkgPath: string;
|
||||
publintResult: Result;
|
||||
} | null>,
|
||||
}>,
|
||||
check?: boolean,
|
||||
) {
|
||||
let errorCount = 0;
|
||||
|
Reference in New Issue
Block a user