revert change of trailing comment parsing

This commit is contained in:
Klaus Meinhardt committed 2019-01-27 17:41:20 +01:00
1 parent 68133e5fad
commit 451ff29263
2 files changed
-20

No files matched your search

-3
View File
@@ -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) {