From 30a90d255482aa0671e5b8eeafe51ffb67377e63 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 10 Dec 2014 21:54:38 +1100 Subject: [PATCH] fix hash bang support --- lib/6to5/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/6to5/file.js b/lib/6to5/file.js index 0e1207b023..d8d9c4ba24 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -165,7 +165,7 @@ File.prototype.addCode = function (code) { File.prototype.parse = function (code) { var self = this; - this.addCode(code); + code = this.addCode(code); return util.parse(this.opts, code, function (tree) { self.transform(tree);