Skip to content

Commit

Permalink
fix: remove return null (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
notrab authored Jan 4, 2022
1 parent 228ad37 commit 4939c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby-source-graphcms/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function makeResolveGatsbyImageData(cache) {
if (
!['image/png', 'image/jpg', 'image/jpeg', 'image/tiff'].includes(mimeType)
) {
return null
return {}
}

const imageDataArgs = {
Expand Down

0 comments on commit 4939c84

Please sign in to comment.