We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2667851 commit 382459fCopy full SHA for 382459f
src/services/formatting/smartIndenter.ts
@@ -731,8 +731,7 @@ export namespace SmartIndenter {
731
}
732
break;
733
case SyntaxKind.TryStatement:
734
- const tryStatement = parent as TryStatement;
735
- if (tryStatement.finallyBlock && tryStatement.finallyBlock === child) {
+ if (childKind === SyntaxKind.Block) {
736
return false;
737
738
0 commit comments