Skip to content

Null passes lodash as undefined#7

Merged
jonman merged 1 commit intomasterfrom
nick/bugfix-error-handling
Sep 26, 2014
Merged

Null passes lodash as undefined#7
jonman merged 1 commit intomasterfrom
nick/bugfix-error-handling

Conversation

@nwhite89
Copy link
Copy Markdown
Member

using lodash.isUndefined on a null variable passes as true rather than false,
moves back to simple check for err in the if and remove err.red as colours only supports
string.

using ``lodash.isUndefined`` on a ``null`` variable passes as true rather than false,
moves back to simple check for err in the if and remove err.red as colours only supports
string.
jonman added a commit that referenced this pull request Sep 26, 2014
@jonman jonman merged commit 06c5651 into master Sep 26, 2014
@jonman jonman deleted the nick/bugfix-error-handling branch September 26, 2014 11:36
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