Skip to content

Commit

Permalink
fix: fix builds without gatsby-config gatsbyjs#8917 (gatsbyjs#9256)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghardin137 authored and gpetrioli committed Jan 22, 2019
1 parent 6bf3287 commit b39f040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = async (args: BootstrapArgs) => {
)

// theme gatsby configs can be functions or objects
if (config.__experimentalThemes) {
if (config && config.__experimentalThemes) {
const themesConfig = await Promise.mapSeries(
config.__experimentalThemes,
async ([themeName, themeConfig]) => {
Expand Down

0 comments on commit b39f040

Please sign in to comment.