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

Errors noisily if no "name" is present in budgie.json #54

Open
JoshuaKGoldberg opened this issue Oct 26, 2019 · 0 comments
Open

Errors noisily if no "name" is present in budgie.json #54

JoshuaKGoldberg opened this issue Oct 26, 2019 · 0 comments

Comments

@JoshuaKGoldberg
Copy link
Member

Following #53, if you have the same reproduction but a budgie.json with {} as its contents, you get this lovely error message:

TypeError: Cannot read property 'length' of undefined
    at NameSplitter.split (C:\Code\budgie-cli\node_modules\budgie\lib\Rendering\Casing\NameSplitter.js:18:38)
    at C:\Code\budgie-cli\lib\postprocessing\metadata.js:20:104
    at Generator.next (<anonymous>)
    at fulfilled (C:\Code\budgie-cli\lib\postprocessing\metadata.js:5:58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant