Skip to content

Commit

Permalink
Add undefined check in asMetaWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners committed Apr 28, 2018
1 parent 86c40a3 commit 76fa5f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -273,6 +273,7 @@ function asMetaWrapper (dest) {
lastObj: null,
lastLogger: null,
write (chunk) {
if (chunk === undefined) return
var chindings = this.lastLogger[parsed]

if (!chindings) {
Expand Down

0 comments on commit 76fa5f3

Please sign in to comment.