Skip to content

Commit

Permalink
absolute resolves for gatsby config files
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-mulligan committed Jun 17, 2017
1 parent 2a52b06 commit 7f872f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ module.exports = async (program: any) => {
const pluginVersions = flattenedPlugins.map(p => p.version)
const hashes = await Promise.all([
md5File(`package.json`),
Promise.resolve(md5File(`gatsby-config.js`).catch(() => {})), // ignore as this file isn't required),
Promise.resolve(md5File(`gatsby-node.js`).catch(() => {})), // ignore as this file isn't required),
Promise.resolve(md5File(`${program.directory}/gatsby-config.js`).catch(() => {})), // ignore as this file isn't required),
Promise.resolve(md5File(`${program.directory}/gatsby-node.js`).catch(() => {})), // ignore as this file isn't required),
])
const pluginsHash = crypto
.createHash(`md5`)
Expand Down

0 comments on commit 7f872f7

Please sign in to comment.