Skip to content

Commit

Permalink
fix(gatsby): Improve warning when a source plugin doesn't create a no…
Browse files Browse the repository at this point in the history
…de (#35478)

This often means something went wrong during sourcing.
  • Loading branch information
KyleAMathews committed Apr 25, 2022
1 parent 7445aa3 commit 32f5ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/source-nodes.ts
Expand Up @@ -43,7 +43,7 @@ function warnForPluginsWithoutNodes(

pluginsWithNoNodes.map(name =>
report.warn(
`The ${name} plugin has generated no Gatsby nodes. Do you need it?`
`The ${name} plugin has generated no Gatsby nodes. Do you need it? This could also suggest the plugin is misconfigured.`
)
)
}
Expand Down

0 comments on commit 32f5ba4

Please sign in to comment.