yeoman / doctor

Detect potential issues with users system that could prevent Yeoman from working correctly
http://yeoman.io
BSD 2-Clause "Simplified" License
61 stars 16 forks source link

`yo doctor` just look up home dir #25

Closed deniciocode closed 8 years ago

deniciocode commented 9 years ago

Hey,

I crashed to an issue where have to find out that yeoman did not scaffold in my current dir. I put my in $HOME/code. In this directory I started a scaffold by mistake, so an .yo-rc.json was created.

yo doctor did not show me this in any kind, then I was in a dir like $HOME/code/myApplication. It was a stupid mistake on my side, but it could be useful if yeoman can tell me, that I have a yo-file in one of my parent directories to remove any surprise.

SBoudrias commented 8 years ago

yeoman-generator will print a warning when it decides to scaffold an app in a parent directory.

We decided to not add this to yo doctor because this check would be context dependant, and that's not something we think is a good fit for the doctor check.