mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
revert change of trailing comment parsing
This commit is contained in:
1 parent
68133e5fad
commit
451ff29263
2 files changed
-20
No files matched your search
@@ -664,9 +664,6 @@ namespace ts {
|
||||
let collecting = trailing;
|
||||
let accumulator = initial;
|
||||
if (pos === 0) {
|
||||
if (collecting) {
|
||||
return accumulator;
|
||||
}
|
||||
collecting = true;
|
||||
const shebang = getShebang(text);
|
||||
if (shebang) {
|
||||
|
||||
Reference in new issue
Block a user