Skip to content

Commit bfc27e0

Browse files
Update .ci/linters/md/news_linter.R
Co-authored-by: Michael Chirico <[email protected]>
1 parent f0b4380 commit bfc27e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/linters/md/news_linter.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ensure that numbered list in each section is in sequence
22
check_section_numbering = function(news) {
3-
if (!grepl("NEWS", news)) return()
3+
if (!grepl("NEWS", news)) return(invisible())
44
news = readLines(news)
55
# plain '#' catches some examples; 'd' for 'data.table'
66
sections = grep("^#+ [A-Zd]", news)

0 commit comments

Comments
 (0)