From b3bcfbdaebe8d22dfa9faa7c988ff0aa8b5bc70c Mon Sep 17 00:00:00 2001 From: Carlos Castilla <63982489+thecurz@users.noreply.github.com> Date: Fri, 20 Sep 2024 23:55:37 -0500 Subject: [PATCH] Update src/core/file/fileManipulator.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- src/core/file/fileManipulator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file/fileManipulator.ts b/src/core/file/fileManipulator.ts index 63a84ae..3fa1654 100644 --- a/src/core/file/fileManipulator.ts +++ b/src/core/file/fileManipulator.ts @@ -57,7 +57,7 @@ class PythonManipulator extends BaseManipulator { const sz = lines.length; for (let i = 0; i < sz; i++) { - const line = lines[i] + (i != sz - 1 ? "\n" : ""); + const line = lines[i] + (i !== sz - 1 ? "\n" : ""); buffer += line; if (quoteType === "") { const indexSingle = line.search(/(?