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 17 forks source link

Fix .bowerrc and .yo-rc.json error messages #37

Closed rgroothuijsen closed 6 years ago

rgroothuijsen commented 6 years ago

This PR fixes #36 which was caused by error messages interpreting the intended text as variable names. This issue can be fixed either by surrounding the text with quotes so that it's interpreted as a string literal, or by using proper variable names. Since the error message rules are already passing variables for these strings, I decided to make use of them.

sindresorhus commented 6 years ago

Thanks for fixing :)