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
logictitans committed Jul 30, 2022
1 parent 048ef82 commit 79ec276
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

0 comments on commit 79ec276

Please sign in to comment.