Skip to content

Commit 8a126b3

Browse files
committed
Try removing second regex for now
1 parent bfd4c09 commit 8a126b3

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

sphinx_matcher.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@
1111
"message": 4
1212
}
1313
]
14-
},
15-
{
16-
"owner": "sphinx-problem-matcher-loose",
17-
"pattern": [
18-
{
19-
"_comment": "A bit of a looser pattern, doesn't look for line numbers, just looks for file names relying on them to start with / and end with .rst",
20-
"regexp": "(\/.*\\.rst):\\s+(\\w*):\\s+(.*)$",
21-
"file": 1,
22-
"severity": 2,
23-
"message": 3
24-
}
25-
]
2614
}
2715
]
2816
}

test_matcher.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ const expected_matches = [
4848
'severity': 'WARNING',
4949
'message': 'Unknown directive type "BADDIRECTIVE".',
5050
},
51+
/*
5152
{
5253
'file': '/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/notintoc.rst',
5354
'line': null,
5455
'severity': 'WARNING',
5556
'message': "document isn't included in any toctree"
5657
}
58+
*/
5759
]
5860

5961
function perform_match(pattern_object, line) {

0 commit comments

Comments
 (0)