Skip to content

Commit

Permalink
fix: parse ci failure error (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
F3n67u authored Jul 30, 2022
1 parent bbad9a0 commit 0d49eda
Show file tree
Hide file tree
Showing 4 changed files with 25,050 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ci/ci_failure_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const FAILURE_FILTERS = [{
}, {
// TODO: match indentation to avoid skipping context with '...'
filter(ctx, text) {
const pattern = /not ok \d+[\s\S]+? {2}\.\.\.\r?\n/mg;
const pattern = /^not ok \d+[\s\S]+? {2}\.\.\.\r?\n/mg;
const matches = text.match(pattern);
if (!matches) {
return null;
Expand Down
Loading

0 comments on commit 0d49eda

Please sign in to comment.