Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"force .yo-rc.json" despite having a .yo-rc.json at project root #1753

Open
tjmgregory opened this issue Jun 26, 2021 · 1 comment
Open

"force .yo-rc.json" despite having a .yo-rc.json at project root #1753

tjmgregory opened this issue Jun 26, 2021 · 1 comment

Comments

@tjmgregory
Copy link

tjmgregory commented Jun 26, 2021

yo v4.2.0
node v14.17.1
generator-jestr v0.1.2


With the following directory structure:

/
  tests/
  package.json
  .yo-rc.json

When inside tests/, running yo jestr creates a .yo-rc.json at tests/.yo-rc.json having printed the following:

image

From here I believe yo should have traversed up the tree and found the root .yo-rc.json?

@tjmgregory
Copy link
Author

Even running a yo command in the same directory as the .yo-rc.json, the CLI still prints force .yo-rc-json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant