[gatsby-dev-cli]: don't check for local package.json when configuring path to monorepo #11535
Labels
good first issue
Issue that doesn't require previous experience with Gatsby
type: bug
An issue or pull request relating to a bug in Gatsby
When setting path to monorepo with
gatsby-dev-cli
(gatsby-dev --set-path-to-repo /path/to/my/cloned/version/gatsby
) we shouldn't check for localpackage.json
. This is confusing when doing initial setup and for that step it's also not needed to check it because we don't use it.Here's related code -
gatsby/packages/gatsby-dev-cli/src/index.js
Lines 41 to 44 in ad14073
It should be moved after
pathToRepo
handlingThe text was updated successfully, but these errors were encountered: