Skip to content

Commit

Permalink
fix(www): return promise so gatsby wait for data before continuing (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored and gpetrioli committed Jan 22, 2019
1 parent 730794e commit 120c964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/gatsby-node.js
Expand Up @@ -476,7 +476,7 @@ exports.onCreateNode = ({ node, actions, getNode, reporter }) => {
},
})
} else {
Promise.all([
return Promise.all([
getpkgjson(node.repo),
githubApiClient.request(`
query {
Expand Down

0 comments on commit 120c964

Please sign in to comment.