Skip to content

Commit 7165027

Browse files
committed
refactor(publint): early return
1 parent 237f6f2 commit 7165027

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/features/publint.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export async function publint(options: ResolvedConfig): Promise<void> {
3434
`No publint issues found`,
3535
dim`(${Math.round(performance.now() - t)}ms)`,
3636
)
37+
return
3738
}
39+
3840
let hasError = false
3941
for (const message of messages) {
4042
hasError ||= message.type === 'error'

0 commit comments

Comments
 (0)