Skip to content

Commit 1c16f32

Browse files
authored
fix: revert remove return null 215
This reverts commit 4939c84.
1 parent 4939c84 commit 1c16f32

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 {}
365+
return null
366366
}
367367

368368
const imageDataArgs = {

0 commit comments

Comments
 (0)