Skip to content

Commit

Permalink
fix(www): return promise so gatsby wait for data before continuing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Oct 19, 2018
1 parent 3fb6d82 commit 9953c7c
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 9953c7c

Please sign in to comment.