Skip to content

Commit

Permalink
fix: message with newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Aug 29, 2024
1 parent 43a4573 commit 06b997e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lint/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Formatter {
}

private normalizeMessages(result: LintResult) {
const newLineRegex = /[\s\n]{2,}/g
const newLineRegex = /\s*\n+/g

const messages = result.messages.map(message => {
return {
Expand Down

0 comments on commit 06b997e

Please sign in to comment.