Skip to content

Commit a67e6ed

Browse files
committed
format
1 parent b17baee commit a67e6ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/gatsby/src/internal-plugins/query-runner/pages-writer.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ const writePages = async () => {
4545
let layout = getLayoutById(layouts)(p.layout)
4646

4747
if (!layout) {
48-
throw new Error(`Could not find layout '${p.layout}'. Check if this file exists in 'src/layouts'.`)
48+
throw new Error(
49+
`Could not find layout '${
50+
p.layout
51+
}'. Check if this file exists in 'src/layouts'.`
52+
)
4953
}
5054

5155
pageLayouts.push(layout)

0 commit comments

Comments
 (0)