Skip to content

Commit 0d49eda

Browse files
authored
fix: parse ci failure error (nodejs#640)
1 parent bbad9a0 commit 0d49eda

File tree

4 files changed

+25050
-1
lines changed

4 files changed

+25050
-1
lines changed

lib/ci/ci_failure_parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const FAILURE_FILTERS = [{
155155
}, {
156156
// TODO: match indentation to avoid skipping context with '...'
157157
filter(ctx, text) {
158-
const pattern = /not ok \d+[\s\S]+? {2}\.\.\.\r?\n/mg;
158+
const pattern = /^not ok \d+[\s\S]+? {2}\.\.\.\r?\n/mg;
159159
const matches = text.match(pattern);
160160
if (!matches) {
161161
return null;

0 commit comments

Comments
 (0)