Skip to content

Commit 04261b2

Browse files
committed
Update file name case check
1 parent c11bca1 commit 04261b2

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tasks/test_syntax.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,7 @@ function assertFileNames() {
193193
var base = path.basename(file);
194194

195195
if(
196-
base === 'README.md' ||
197-
base === 'CONTRIBUTING.md' ||
198-
base === 'CHANGELOG.md' ||
199-
base === 'SECURITY.md' ||
200-
base === 'BUILDING.md' ||
201-
base === 'CUSTOM_BUNDLE.md' ||
196+
base.endsWith('.md') ||
202197
base === 'CITATION.cff' ||
203198
file.indexOf('mathjax') !== -1
204199
) return;

0 commit comments

Comments
 (0)