Skip to content

Commit 4939c84

Browse files
authored
fix: remove return null (#215)
1 parent 228ad37 commit 4939c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gatsby-source-graphcms/src/gatsby-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function makeResolveGatsbyImageData(cache) {
362362
if (
363363
!['image/png', 'image/jpg', 'image/jpeg', 'image/tiff'].includes(mimeType)
364364
) {
365-
return null
365+
return {}
366366
}
367367

368368
const imageDataArgs = {

0 commit comments

Comments
 (0)