Skip to content

Commit

Permalink
Fix typegen issue (#26950)
Browse files Browse the repository at this point in the history
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
ascorbic and gatsbybot committed Sep 21, 2020
1 parent 6270c3d commit e4980d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/create-cli.ts
Expand Up @@ -17,7 +17,7 @@ import { initStarter } from "./init-starter"
import { recipesHandler } from "./recipes"
import { startGraphQLServer } from "gatsby-recipes"
import { getPackageManager, setPackageManager } from "./util/package-manager"
import reporter from "../lib/reporter"
import reporter from "./reporter"

const handlerP = (fn: Function) => (...args: Array<unknown>): void => {
Promise.resolve(fn(...args)).then(
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/init-starter.ts
Expand Up @@ -12,7 +12,7 @@ import url from "url"
import { updateSiteMetadata } from "gatsby-core-utils"
import report from "./reporter"
import { getPackageManager, setPackageManager } from "./util/package-manager"
import reporter from "../lib/reporter"
import reporter from "./reporter"

const spawnWithArgs = (
file: string,
Expand Down
3 changes: 3 additions & 0 deletions packages/gatsby-cli/tsconfig.json
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"skipLibCheck": true
},
"exclude": ["**/__tests__/**/*", "./src/index.ts"]
}

0 comments on commit e4980d6

Please sign in to comment.