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 16, 2018
1 parent e8650c2 commit 2a1ae0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,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 2a1ae0a

Please sign in to comment.