Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
style(linter): fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
josex2r committed Feb 14, 2019
1 parent 4e79362 commit 8cd9f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Thumbnail extends Filter {
const { extensions, prefix } = this.options;
const ext = path.extname(relativePath).replace(/^\./, '');

if (this.options.extensions.includes(ext)) {
if (extensions.includes(ext)) {
const basename = path.basename(relativePath);
const dirname = path.dirname(relativePath);
const thumbnailRelativePath = path.join(dirname, `${prefix}${basename}`);
Expand Down

0 comments on commit 8cd9f10

Please sign in to comment.