Skip to content

Commit e66c824

Browse files
author
Kanchalai Tanglertsampan
committed
Remove unnecessary else clause
1 parent 8f79f95 commit e66c824

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/compiler/scanner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,9 +1724,7 @@ namespace ts {
17241724
pos = scanConflictMarkerTrivia(text, pos, error);
17251725
return token = SyntaxKind.ConflictMarkerTrivia;
17261726
}
1727-
else {
1728-
break;
1729-
}
1727+
break;
17301728
}
17311729
}
17321730
return token = SyntaxKind.JsxText;

0 commit comments

Comments
 (0)