From 0bb1b40b1b2823261dc6bfc8e70e3a71839140f6 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 28 Oct 2019 13:39:17 -0700 Subject: [PATCH] Update src/services/formatting/smartIndenter.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> --- src/services/formatting/smartIndenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/formatting/smartIndenter.ts b/src/services/formatting/smartIndenter.ts index 639d8f5ee44..5539a8e30cb 100644 --- a/src/services/formatting/smartIndenter.ts +++ b/src/services/formatting/smartIndenter.ts @@ -327,7 +327,7 @@ namespace ts.formatting { if (isCallOrNewExpression(parent)) { if (!parent.arguments) return false; const currentNode = find(parent.arguments, arg => arg.pos === child.pos); - // If its not one of the argument, dont look past this + // If it's not one of the arguments, don't look past this if (!currentNode) return false; const currentIndex = parent.arguments.indexOf(currentNode); if (currentIndex === 0) return false; // Can't look at previous node if first