Skip to content

Commit b49b74b

Browse files
committed
eslint fix.
1 parent 6b07eaa commit b49b74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

img.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ function setupLogger(eleventyConfig, opts) {
795795

796796
function queueImage(src, opts) {
797797
let eleventyConfig = opts?.eleventyConfig;
798-
if(opts?.eleventyConfig && opts.propertyIsEnumerable("eleventyConfig")) {
798+
if(opts?.eleventyConfig && {}.propertyIsEnumerable.call(opts, "eleventyConfig")) {
799799
delete opts.eleventyConfig;
800800
Util.addConfig(eleventyConfig, opts);
801801
}

0 commit comments

Comments
 (0)