Skip to content

Commit

Permalink
Logic… it be hard
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Aug 28, 2017
1 parent 84d1075 commit 02dde5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-remark/src/on-node-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = async function onCreateNode({

// We only care about markdown content.
if (
node.internal.mediaType !== `text/markdown` ||
node.internal.mediaType !== `text/markdown` &&
node.internal.mediaType !== `text/x-markdown`
) {
return
Expand Down

0 comments on commit 02dde5d

Please sign in to comment.