Skip to content
Permalink
Browse files

Pass correct data property through.

  • Loading branch information...
loganfsmyth committed Sep 4, 2018
1 parent a10e8e9 commit 9c2f6bbd0e445f77d3227bebe4988a01cf6fb336
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
@@ -56,7 +56,7 @@ Babelify.prototype._flush = function (callback) {
this.emit("error", err);
} else {
this.emit("babelify", result, this._filename);
var code = result !== null ? result.code : this._data;
var code = result !== null ? result.code : data;
this.push(code);
callback();
}

0 comments on commit 9c2f6bb

Please sign in to comment.
You can’t perform that action at this time.