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 #849

Closed
tjmgregory opened this issue Jun 26, 2021 · 2 comments
Closed

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

tjmgregory opened this issue Jun 26, 2021 · 2 comments

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

@JoshuaKGoldberg JoshuaKGoldberg transferred this issue from yeoman/yeoman Jan 21, 2025
@mshima
Copy link
Member

mshima commented Jan 21, 2025

Duplicate of yeoman/generator#1291

@mshima mshima marked this as a duplicate of yeoman/generator#1291 Jan 21, 2025
@eddiemonge eddiemonge pinned this issue Jan 21, 2025
@eddiemonge eddiemonge unpinned this issue Jan 21, 2025
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

3 participants