Skip to content

Commit

Permalink
Revert "fix: remove return null (#215)"
Browse files Browse the repository at this point in the history
This reverts commit 4939c84.
  • Loading branch information
notrab authored Jan 4, 2022
1 parent 4939c84 commit 4ca3aeb
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 {}
return null
}

const imageDataArgs = {
Expand Down

0 comments on commit 4ca3aeb

Please sign in to comment.