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

Handle undefined values. #1

Merged
merged 1 commit into from Jul 15, 2013
Merged

Handle undefined values. #1

merged 1 commit into from Jul 15, 2013

Conversation

diversario
Copy link
Contributor

Convert undefined values into empty strings.
Fixes

TypeError: Cannot call method 'indexOf' of undefined
at bunyan-prettystream/lib/prettystream.js:320:19

error.

Test included.

Convert undefined values into empty strings.
Fixes
    TypeError: Cannot call method 'indexOf' of undefined
    at bunyan-prettystream/lib/prettystream.js:320:19
error.
@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling a068e51 on diversario:master into 4aca360 on mrrama:master.

mrrama added a commit that referenced this pull request Jul 15, 2013
@mrrama mrrama merged commit 0753358 into mrrama:master Jul 15, 2013
spang pushed a commit to nylas/node-bunyan-prettystream that referenced this pull request Feb 3, 2017
Add option to use color only if the output is to a TTY (terminal).
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.

None yet

3 participants