Fix #5928 - Write line after shebang

This commit is contained in:
Wesley Wigham 2015-12-04 13:38:24 -08:00
parent b14b7e9172
commit bc73f31acc
2 changed files with 3 additions and 1 deletions

View File

@ -7814,6 +7814,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
const shebang = getShebang(currentText);
if (shebang) {
write(shebang);
writeLine();
}
}
}

View File

@ -16,6 +16,7 @@ import {x} from "test";
use(x);
//// [f.js]
#!/usr/bin/env node"use strict";
#!/usr/bin/env node
"use strict";
var test_1 = require("test");
use(test_1.x);