Skip to content

Commit

Permalink
Add missing reporter type
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdz committed Aug 11, 2020
1 parent 49c7359 commit 35e1d50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ import { derivePath } from "./derive-path"
import { watchCollectionBuilder } from "./watch-collection-builder"
import { collectionExtractQueryString } from "./collection-extract-query-string"
import { isValidCollectionPathImplementation } from "./is-valid-collection-path-implementation"
import { Reporter } from "gatsby"

// TODO: Do we need the ignore argument?
export async function createPagesFromCollectionBuilder(
filePath: string,
absolutePath: string,
actions: Actions,
graphql: CreatePagesArgs["graphql"],
reporter
reporter: Reporter
): Promise<void> {
if (isValidCollectionPathImplementation(absolutePath, reporter) === false) {
watchCollectionBuilder(absolutePath, ``, [], actions, () =>
Expand Down

0 comments on commit 35e1d50

Please sign in to comment.