fix formatting

This commit is contained in:
Vladimir Matveev
2015-05-03 22:37:11 -07:00
parent 432ac30d3c
commit 5f3e7dec9a

View File

@@ -419,7 +419,7 @@ module ts.formatting {
// if node is located on the same line with the parent
// - inherit indentation from the parent
// - push children if either parent of node itself has non-zero delta
indentation = startLine === lastIndentedLine
indentation = startLine === lastIndentedLine
? indentationOnLastIndentedLine
: parentDynamicIndentation.getIndentation();
delta = Math.min(options.IndentSize, parentDynamicIndentation.getDelta() + delta);