Skip to content

Commit

Permalink
fix: add early return to issue collector print
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkownacki committed Aug 11, 2023
1 parent 7ecb77b commit 4934a43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/utils/issueCollector/IssueCollector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class IssueCollector {

if (issue.type === 'error') {
DoctorLogger.error(`${realIndex}.`, issue.message);
return;
}

DoctorLogger.warning(`${realIndex}.`, issue.message);
Expand Down

0 comments on commit 4934a43

Please sign in to comment.