Skip to content

Commit

Permalink
eslint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed May 11, 2024
1 parent 6b07eaa commit b49b74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ function setupLogger(eleventyConfig, opts) {

function queueImage(src, opts) {
let eleventyConfig = opts?.eleventyConfig;
if(opts?.eleventyConfig && opts.propertyIsEnumerable("eleventyConfig")) {
if(opts?.eleventyConfig && {}.propertyIsEnumerable.call(opts, "eleventyConfig")) {
delete opts.eleventyConfig;
Util.addConfig(eleventyConfig, opts);
}
Expand Down

0 comments on commit b49b74b

Please sign in to comment.