We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9592b6 commit 485927bCopy full SHA for 485927b
1 file changed
src/services/formatting/formatting.ts
@@ -1119,7 +1119,7 @@ namespace ts.formatting {
1119
return;
1120
}
1121
1122
- // edit should not be applied only if we have one line feed between elements
+ // edit should not be applied if we have one line feed between elements
1123
const lineDelta = currentStartLine - previousStartLine;
1124
if (lineDelta !== 1) {
1125
recordReplace(previousRange.end, currentRange.pos - previousRange.end, options.newLineCharacter);
0 commit comments