Skip to content

Commit

Permalink
Merge branch 'chore/bootstrap-refactor' of github.com:gatsbyjs/gatsby…
Browse files Browse the repository at this point in the history
… into chore/bootstrap-refactor
  • Loading branch information
ascorbic committed Jun 19, 2020
2 parents dd3d1c5 + f087d53 commit 6c0f22d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/gatsby/src/services/initialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ process.on(`unhandledRejection`, (reason: unknown) => {
// require(`../bootstrap/log-line-function`)

export async function initialize(
context: IBuildContext
{ program: args, parentSpan }: IBuildContext
): Promise<{
store: Store<IGatsbyState, AnyAction>
workerPool: JestWorker
}> {
const args = context.program
const { parentSpan } = context
if (!args) {
reporter.panic(`Missing program args`)
}
Expand Down

0 comments on commit 6c0f22d

Please sign in to comment.