mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Fix #5928 - Write line after shebang
This commit is contained in:
parent
b14b7e9172
commit
bc73f31acc
@ -7814,6 +7814,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
|
||||
const shebang = getShebang(currentText);
|
||||
if (shebang) {
|
||||
write(shebang);
|
||||
writeLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user