diff --git a/packages/gatsby-source-filesystem/src/create-remote-file-node.js b/packages/gatsby-source-filesystem/src/create-remote-file-node.js index 3bea8c073345f..2749546ba542d 100644 --- a/packages/gatsby-source-filesystem/src/create-remote-file-node.js +++ b/packages/gatsby-source-filesystem/src/create-remote-file-node.js @@ -78,7 +78,7 @@ const createFilePath = (directory, filename, ext) => path.join( `${filename}${ext}` ) -const ignoreCache = () => process.env.NODE_ENV === 'production' || process.env.NO_CACHE +const ignoreCache = () => process.env.NODE_ENV === `production` || process.env.NO_CACHE /******************** * Queue Management *