We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
undefined
1 parent 5ef2eca commit b680b47Copy full SHA for b680b47
src/runtime/query/query.ts
@@ -35,6 +35,10 @@ export function createQuery <T = ParsedContent> (fetcher: ContentQueryFetcher<T>
35
return result.surround
36
}
37
38
+ if (!result) {
39
+ return result
40
+ }
41
+
42
if ((result as any)?.dirConfig) {
43
result.result = {
44
_path: (result as any).dirConfig?._path,
0 commit comments