Skip to content

Commit

Permalink
Merge pull request #109 from lumaxis/fix-tty-regex
Browse files Browse the repository at this point in the history
Fix TTY regex to handle new severity output
  • Loading branch information
lumaxis authored Apr 3, 2023
2 parents 91e97b1 + aee2533 commit 447e7db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/shellcheck-tty.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
"regexp": ".*"
},
{
"regexp": "SC(\\d+):\\s(.+)$",
"regexp": "SC(\\d+)\\s\\((note|warning|error)\\):\\s(.+)$",
"code": 1,
"message": 2,
"severity": 2,
"message": 3,
"loop": true
}
]
]
}
]
}
5 changes: 3 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
"regexp": ".*"
},
{
"regexp": "SC(\\d+):\\s(.+)$",
"regexp": "SC(\\d+)\\s\\((note|warning|error)\\):\\s(.+)$",
"code": 1,
"message": 2,
"severity": 2,
"message": 3,
"loop": true
}
]
Expand Down

0 comments on commit 447e7db

Please sign in to comment.