From b4232699d2caedf2073b0ce409857954f61836c2 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 11 Nov 2014 15:23:31 +1100 Subject: [PATCH] add newline after shebang --- 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 291b6601ef..0ba1dbba93 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -146,7 +146,7 @@ File.prototype.generate = function () { if (this.shebang) { // add back shebang - result.code = this.shebang + result.code; + result.code = this.shebang + "\n" + result.code; } if (opts.sourceMap === "inline") {