mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
Fix typo
This commit is contained in:
parent
ea39811ff6
commit
d300583574
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ function getArt(name, options, cb) {
|
|||
// Ignore anything not allowed in |options.types|
|
||||
//
|
||||
const fext = paths.extname(file);
|
||||
if(!options.type.includes(fext.toLowerCase())) {
|
||||
if(!options.types.includes(fext.toLowerCase())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue