diff --git a/core/art.js b/core/art.js index cb71fdb4..28657fc0 100644 --- a/core/art.js +++ b/core/art.js @@ -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; }