Skip to content

Commit

Permalink
Revert "Clone context (gatsbyjs#1553)"
Browse files Browse the repository at this point in the history
This reverts commit cb70f6c.
  • Loading branch information
okcoker committed Jul 20, 2017
1 parent 57a1cc7 commit 0e9d332
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ module.exports = async (page, component) => {
}

// Add the path context onto the results.
result.pathContext = { ...page.context }
result.pathContext = page.context
const resultJSON = JSON.stringify(result, null, 4)
return writeFileAsync(
joinPath(program.directory, `.cache`, `json`, page.jsonName),
Expand Down

0 comments on commit 0e9d332

Please sign in to comment.