From 485927b26aefe4d1719d110b9566057fcbd0b9a9 Mon Sep 17 00:00:00 2001 From: Arthur Ozga Date: Thu, 22 Jun 2017 11:17:55 -0700 Subject: [PATCH] clarify comment --- src/services/formatting/formatting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/formatting/formatting.ts b/src/services/formatting/formatting.ts index 1e40d6e1d0b..4ede9da335b 100644 --- a/src/services/formatting/formatting.ts +++ b/src/services/formatting/formatting.ts @@ -1119,7 +1119,7 @@ namespace ts.formatting { return; } - // 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 const lineDelta = currentStartLine - previousStartLine; if (lineDelta !== 1) { recordReplace(previousRange.end, currentRange.pos - previousRange.end, options.newLineCharacter);