Skip to content

Commit 7181184

Browse files
committed
Fixed the parenthesis around the expression around line indent calculation
1 parent 816b018 commit 7181184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ module ts {
299299
for (; pos < end && isWhiteSpace(currentSourceFile.text.charCodeAt(pos)); pos++) {
300300
if (currentSourceFile.text.charCodeAt(pos) === CharacterCodes.tab) {
301301
// Tabs = TabSize = indent size and go to next tabStop
302-
currentLineIndent += (getIndentSize() - currentLineIndent % getIndentSize());
302+
currentLineIndent += getIndentSize() - (currentLineIndent % getIndentSize());
303303
}
304304
else {
305305
// Single space

0 commit comments

Comments
 (0)