file extension matching should be case insensitive

This commit is contained in:
Jordan Eldredge 2023-04-14 09:26:39 -07:00 committed by GitHub
parent f40c0ed3b8
commit b8438caf42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export function uniqueId() {
export function filenameIsReadme(filename) {
return (
filename.match(/\.txt$/) &&
filename.match(/\.txt$/i) &&
![
"genex.txt",
"genexinfo.txt",