We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17baee commit a67e6edCopy full SHA for a67e6ed
packages/gatsby/src/internal-plugins/query-runner/pages-writer.js
@@ -45,7 +45,11 @@ const writePages = async () => {
45
let layout = getLayoutById(layouts)(p.layout)
46
47
if (!layout) {
48
- throw new Error(`Could not find layout '${p.layout}'. Check if this file exists in 'src/layouts'.`)
+ throw new Error(
49
+ `Could not find layout '${
50
+ p.layout
51
+ }'. Check if this file exists in 'src/layouts'.`
52
+ )
53
}
54
55
pageLayouts.push(layout)
0 commit comments