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

Fix: support defaults of makePretty, makeCompact #12

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

peteashworth
Copy link
Contributor

Docs show the default for makePretty and makeCompact was false. However, it will error if the properties are not set.

var makePretty = process.env.MAKE_PRETTY.toLowerCase() === "true"; //Priority is pretty > compact > normal
                                         ^
TypeError: Cannot read property 'toLowerCase' of undefined

@jun3453
Copy link
Owner

jun3453 commented Jul 26, 2021

Thank you!

@jun3453 jun3453 merged commit 4766489 into jun3453:master Jul 26, 2021
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

Successfully merging this pull request may close these issues.

2 participants